From 92bd9bb08d9f93f6340d1acd5dddf6669e69e58b Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 12 Sep 2024 17:13:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0flyway?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-backend/src/main/resources/db/desktop/V2.10.1__ddl.sql | 2 +- .../src/main/resources/db/migration/V2.10.1__ddl.sql | 2 +- 2 files changed, 2 insertions(+), 2 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 076dc4e9e8..e25e136490 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` varchar(255) DEFAULT NULL COMMENT '默认值 JSON格式', ADD COLUMN `enabled_default` tinyint(1) NULL DEFAULT 0 COMMENT '是否启用默认值'; 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 076dc4e9e8..e25e136490 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` varchar(255) DEFAULT NULL COMMENT '默认值 JSON格式', ADD COLUMN `enabled_default` tinyint(1) NULL DEFAULT 0 COMMENT '是否启用默认值'; update visualization_outer_params_info set required =0;