set default project and studio at user settings

This commit is contained in:
Milan
2018-10-14 00:05:04 +02:00
parent a949cea7bd
commit eaaea81ed4
7 changed files with 68 additions and 23 deletions

View File

@@ -1020,6 +1020,8 @@ CREATE TABLE `calcms_user_settings` (
`language` varchar(3) DEFAULT 'de',
`period` varchar(16) DEFAULT 'month',
`calendar_fontsize` smallint(5) unsigned DEFAULT '12',
`project_id` INT(10) UNSIGNED NULL,
`studio_id` INT(10) UNSIGNED NULL,
PRIMARY KEY (`id`,`user`) USING BTREE,
KEY `user` (`user`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;