Skip to content

Commit

Permalink
Added user vacation control
Browse files Browse the repository at this point in the history
Added new fields user_last_vacation and user_last_vacation_duration in
user table in order to avoid (reduce?) abuse of holiday mode.
  • Loading branch information
kirirur committed Oct 14, 2014
1 parent bf840cb commit f428667
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stfc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f428667

Please sign in to comment.