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 new file mode 100644 index 0000000000..0743c4fafa --- /dev/null +++ b/core/core-backend/src/main/resources/db/desktop/V2.10.1__ddl.sql @@ -0,0 +1,4 @@ +ALTER TABLE `visualization_outer_params_info` + ADD COLUMN `required` tinyint(1) DEFAULT 0 COMMENT '是否必填', +ADD COLUMN `default_value` longtext NULL COMMENT '默认值 JSON格式'; +update visualization_outer_params_info set required =0; \ No newline at end of file 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 new file mode 100644 index 0000000000..0743c4fafa --- /dev/null +++ b/core/core-backend/src/main/resources/db/migration/V2.10.1__ddl.sql @@ -0,0 +1,4 @@ +ALTER TABLE `visualization_outer_params_info` + ADD COLUMN `required` tinyint(1) DEFAULT 0 COMMENT '是否必填', +ADD COLUMN `default_value` longtext NULL COMMENT '默认值 JSON格式'; +update visualization_outer_params_info set required =0; \ No newline at end of file