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;