diff --git a/frontend/db/data.sql b/frontend/db/data.sql index 8ffcdb3..a1ebcd2 100644 --- a/frontend/db/data.sql +++ b/frontend/db/data.sql @@ -46,6 +46,21 @@ CREATE TABLE IF NOT EXISTS `q_instance` ( KEY `k8name` (`k8name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +-- DROP TABLE IF EXISTS `q_cron`; +CREATE TABLE IF NOT EXISTS `q_cron` ( + `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + `m` varchar(20) NOT NULL, + `h` varchar(20) NOT NULL, + `dom` varchar(20) NOT NULL, + `mon` varchar(20) NOT NULL, + `dow` varchar(20) NOT NULL, + `objectID` mediumint unsigned NOT NULL DEFAULT 0, + `status` varchar(20) NOT NULL, + `lastTime` datetime, + PRIMARY KEY (`id`), + KEY `lastTime` (`lastTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + -- DROP TABLE IF EXISTS `q_action`; CREATE TABLE `q_action` ( `id` mediumint unsigned NOT NULL AUTO_INCREMENT, @@ -187,7 +202,6 @@ CREATE TABLE `q_usergroup` ( UNIQUE KEY `account` (`account`,`group`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; - -- DROP TABLE IF EXISTS `q_group`; CREATE TABLE `q_group` ( `id` mediumint unsigned NOT NULL AUTO_INCREMENT, @@ -200,7 +214,6 @@ CREATE TABLE `q_group` ( PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; - -- DROP TABLE IF EXISTS `q_grouppriv`; CREATE TABLE `q_grouppriv` ( `group` mediumint unsigned NOT NULL DEFAULT '0',