From f4286679fea5945152805c685dd020cb50977f1b Mon Sep 17 00:00:00 2001 From: Kirirur Date: Tue, 14 Oct 2014 08:28:59 +0200 Subject: [PATCH] Added user vacation control Added new fields user_last_vacation and user_last_vacation_duration in user table in order to avoid (reduce?) abuse of holiday mode. --- stfc.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stfc.sql b/stfc.sql index c0d027f..e67aac7 100644 --- a/stfc.sql +++ b/stfc.sql @@ -1793,6 +1793,8 @@ CREATE TABLE IF NOT EXISTS `user` ( `user_last_emergency_call` int(10) unsigned NOT NULL default '0', `user_vacation_start` int(10) unsigned NOT NULL default '0', `user_vacation_end` int(10) unsigned NOT NULL default '0', + `user_last_vacation` int(10) unsigned NOT NULL default '0' COMMENT 'Ultimo periodo di vacanza', + `user_last_vacation_duration` int(10) unsigned NOT NULL default '0' COMMENT 'Durata ultimo periodo di vacanza', `user_sitting_active` tinyint(1) unsigned NOT NULL default '0', `user_sitting_password` varchar(32) NOT NULL default '', `user_sitting_o1` tinyint(1) NOT NULL default '0',