feat(flyway): flyway更新

This commit is contained in:
junjie 2021-03-03 16:17:50 +08:00
parent 1355baaeb0
commit 53b4cd94ce
3 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
-- chart start -- chart start
DROP TABLE IF EXISTS `chart_group`;
CREATE TABLE IF NOT EXISTS `chart_group` CREATE TABLE IF NOT EXISTS `chart_group`
( (
`id` varchar(50) NOT NULL COMMENT 'ID', `id` varchar(50) NOT NULL COMMENT 'ID',
@ -12,6 +13,7 @@ CREATE TABLE IF NOT EXISTS `chart_group`
) ENGINE = InnoDB ) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4; DEFAULT CHARSET = utf8mb4;
DROP TABLE IF EXISTS `chart_view`;
CREATE TABLE IF NOT EXISTS `chart_view` CREATE TABLE IF NOT EXISTS `chart_view`
( (
`id` varchar(50) NOT NULL COMMENT 'ID', `id` varchar(50) NOT NULL COMMENT 'ID',

View File

@ -1,4 +1,5 @@
-- dataset start -- dataset start
DROP TABLE IF EXISTS `dataset_group`;
CREATE TABLE IF NOT EXISTS `dataset_group` ( CREATE TABLE IF NOT EXISTS `dataset_group` (
`id` varchar(50) NOT NULL COMMENT 'ID', `id` varchar(50) NOT NULL COMMENT 'ID',
`name` varchar(64) NOT NULL COMMENT '名称', `name` varchar(64) NOT NULL COMMENT '名称',

View File

@ -1,3 +1,4 @@
DROP TABLE IF EXISTS `dataset_table`;
CREATE TABLE IF NOT EXISTS `dataset_table` CREATE TABLE IF NOT EXISTS `dataset_table`
( (
`id` varchar(50) NOT NULL COMMENT 'ID', `id` varchar(50) NOT NULL COMMENT 'ID',
@ -13,6 +14,7 @@ CREATE TABLE IF NOT EXISTS `dataset_table`
) ENGINE = InnoDB ) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4; DEFAULT CHARSET = utf8mb4;
DROP TABLE IF EXISTS `dataset_table_field`;
CREATE TABLE IF NOT EXISTS `dataset_table_field` CREATE TABLE IF NOT EXISTS `dataset_table_field`
( (
`id` varchar(50) NOT NULL COMMENT 'ID', `id` varchar(50) NOT NULL COMMENT 'ID',