X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mysql.sql;h=fc67b19f4d1df9049226d782c16edb76adeaf96b;hb=770d560338b34e0a869c78778d0cd838905fb192;hp=c14045c7db64743e9540f5aa64eacbca4cafb945;hpb=0f0438db0b69e54af6173e2a73f0434d243ecdf6;p=timetracker.git diff --git a/mysql.sql b/mysql.sql index c14045c7..fc67b19f 100644 --- a/mysql.sql +++ b/mysql.sql @@ -35,6 +35,7 @@ CREATE TABLE `tt_groups` ( `plugins` varchar(255) default NULL, # a list of enabled plugins for group `lock_spec` varchar(255) default NULL, # Cron specification for record locking, # for example: "0 10 * * 1" for "weekly on Mon at 10:00". + `holidays` text default NULL, # holidays specification `workday_minutes` smallint(4) default 480, # number of work minutes in a regular working day `custom_logo` tinyint(4) default 0, # whether to use a custom logo or not `config` text default NULL, # miscellaneous group configuration settings @@ -380,6 +381,7 @@ CREATE TABLE `tt_custom_fields` ( `id` int(11) NOT NULL auto_increment, # custom field id `group_id` int(11) NOT NULL, # group id `org_id` int(11) default NULL, # organization id + `entity_type` tinyint(4) default 1, # type of entity custom field is associated with (time, user, project, task, etc.) `type` tinyint(4) NOT NULL default 0, # custom field type (text or dropdown) `label` varchar(32) NOT NULL default '', # custom field label `required` tinyint(4) default 0, # whether this custom field is mandatory for time records @@ -609,4 +611,4 @@ CREATE TABLE `tt_site_config` ( PRIMARY KEY (`param_name`) ); -INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.19.2', now()); # TODO: change when structure changes. +INSERT INTO `tt_site_config` (`param_name`, `param_value`, `created`) VALUES ('version_db', '1.19.6', now()); # TODO: change when structure changes.