Skip to content

Commit

Permalink
+ Add sql.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjianhua committed Feb 2, 2023
1 parent 8fe51c1 commit 9730a4e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions frontend/db/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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',
Expand Down

0 comments on commit 9730a4e

Please sign in to comment.