From 80ead6d3977eb050b46a221754c09b2637812361 Mon Sep 17 00:00:00 2001 From: junjun Date: Mon, 9 Sep 2024 17:54:41 +0800 Subject: [PATCH] fix: flyway --- .../src/main/resources/db/desktop/V2.10.1__ddl.sql | 4 ++-- .../src/main/resources/db/migration/V2.10.1__ddl.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-backend/src/main/resources/db/desktop/V2.10.1__ddl.sql b/core/core-backend/src/main/resources/db/desktop/V2.10.1__ddl.sql index e2230f73e1..076dc4e9e8 100644 --- a/core/core-backend/src/main/resources/db/desktop/V2.10.1__ddl.sql +++ b/core/core-backend/src/main/resources/db/desktop/V2.10.1__ddl.sql @@ -1,5 +1,5 @@ ALTER TABLE `visualization_outer_params_info` ADD COLUMN `required` tinyint(1) DEFAULT 0 COMMENT '是否必填', -ADD COLUMN `default_value` longtext NULL COMMENT '默认值 JSON格式'; +ADD COLUMN `default_value` longtext NULL COMMENT '默认值 JSON格式', ADD COLUMN `enabled_default` tinyint(1) NULL DEFAULT 0 COMMENT '是否启用默认值'; -update visualization_outer_params_info set required =0; \ No newline at end of file +update visualization_outer_params_info set required =0; diff --git a/core/core-backend/src/main/resources/db/migration/V2.10.1__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.10.1__ddl.sql index e2230f73e1..076dc4e9e8 100644 --- a/core/core-backend/src/main/resources/db/migration/V2.10.1__ddl.sql +++ b/core/core-backend/src/main/resources/db/migration/V2.10.1__ddl.sql @@ -1,5 +1,5 @@ ALTER TABLE `visualization_outer_params_info` ADD COLUMN `required` tinyint(1) DEFAULT 0 COMMENT '是否必填', -ADD COLUMN `default_value` longtext NULL COMMENT '默认值 JSON格式'; +ADD COLUMN `default_value` longtext NULL COMMENT '默认值 JSON格式', ADD COLUMN `enabled_default` tinyint(1) NULL DEFAULT 0 COMMENT '是否启用默认值'; -update visualization_outer_params_info set required =0; \ No newline at end of file +update visualization_outer_params_info set required =0;