diff --git a/core/core-backend/src/main/resources/db/desktop/V2.10__ddl.sql b/core/core-backend/src/main/resources/db/desktop/V2.10__ddl.sql deleted file mode 100644 index ea825754fb..0000000000 --- a/core/core-backend/src/main/resources/db/desktop/V2.10__ddl.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `core_sys_setting` (`id`, `pkey`, `pval`, `type`, `sort`) VALUES (10, 'basic.exportFileLiveTime', '30', 'text', 2); -delete from visualization_background where id ='dark_1'; \ No newline at end of file diff --git a/core/core-backend/src/main/resources/db/desktop/V2.9__ddl.sql b/core/core-backend/src/main/resources/db/desktop/V2.9__ddl.sql index b1e4e43562..4b560fcb1f 100644 --- a/core/core-backend/src/main/resources/db/desktop/V2.9__ddl.sql +++ b/core/core-backend/src/main/resources/db/desktop/V2.9__ddl.sql @@ -52,3 +52,6 @@ ALTER TABLE `visualization_template` MODIFY COLUMN `node_type` varchar(255) NULL DEFAULT NULL COMMENT '节点类型 app or template 应用 或者 模板' AFTER `dv_type`, ADD COLUMN `app_data` longtext NULL COMMENT 'app数据' AFTER `dynamic_data`; +INSERT INTO `core_sys_setting` (`id`, `pkey`, `pval`, `type`, `sort`) VALUES (10, 'basic.exportFileLiveTime', '30', 'text', 2); +delete from visualization_background where id ='dark_1'; + diff --git a/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql deleted file mode 100644 index ea825754fb..0000000000 --- a/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql +++ /dev/null @@ -1,2 +0,0 @@ -INSERT INTO `core_sys_setting` (`id`, `pkey`, `pval`, `type`, `sort`) VALUES (10, 'basic.exportFileLiveTime', '30', 'text', 2); -delete from visualization_background where id ='dark_1'; \ No newline at end of file diff --git a/core/core-backend/src/main/resources/db/migration/V2.9__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.9__ddl.sql index f8f3e97901..7ce906fe03 100644 --- a/core/core-backend/src/main/resources/db/migration/V2.9__ddl.sql +++ b/core/core-backend/src/main/resources/db/migration/V2.9__ddl.sql @@ -73,3 +73,6 @@ ALTER TABLE `visualization_template` MODIFY COLUMN `node_type` varchar(255) NULL DEFAULT NULL COMMENT '节点类型 app or template 应用 或者 模板' AFTER `dv_type`, ADD COLUMN `app_data` longtext NULL COMMENT 'app数据' AFTER `dynamic_data`; +INSERT INTO `core_sys_setting` (`id`, `pkey`, `pval`, `type`, `sort`) VALUES (10, 'basic.exportFileLiveTime', '30', 'text', 2); +delete from visualization_background where id ='dark_1'; +