feat: 增加flyway 调增模板导入等

This commit is contained in:
wangjiahao
2021-05-08 11:49:21 +08:00
parent 7ff46ff804
commit 175f5510c4
4 changed files with 7 additions and 3 deletions

View File

@@ -194,6 +194,10 @@ CREATE TABLE `panel_template` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `panel_template`(`id`, `name`, `pid`, `level`, `node_type`, `create_by`, `create_time`, `snapshot`, `template_type`, `template_style`, `template_data`, `dynamic_data`) VALUES ('self', '用户模板', '', -1, 'folder', NULL, NULL, '', 'self', '', '', NULL);
INSERT INTO `panel_template`(`id`, `name`, `pid`, `level`, `node_type`, `create_by`, `create_time`, `snapshot`, `template_type`, `template_style`, `template_data`, `dynamic_data`) VALUES ('system', '系统模板', '', -1, 'folder', NULL, NULL, NULL, 'system', NULL, NULL, NULL);
-- ----------------------------
DROP TABLE IF EXISTS `panel_subject`;
CREATE TABLE `panel_subject` (