diff --git a/backend/src/main/resources/db/migration/V48__1.18.1.sql b/backend/src/main/resources/db/migration/V48__1.18.1.sql index e8297a6852..502f6845b3 100644 --- a/backend/src/main/resources/db/migration/V48__1.18.1.sql +++ b/backend/src/main/resources/db/migration/V48__1.18.1.sql @@ -1,3 +1,12 @@ UPDATE `my_plugin` SET `version` = '1.18.1' -where `plugin_id` > 0 and `store` = 'default' and `version` = '1.18.0'; \ No newline at end of file +where `plugin_id` > 0 and `store` = 'default' and `version` = '1.18.0'; + +ALTER TABLE `dataset_table_field` + CHANGE COLUMN `origin_name` `origin_name` LONGTEXT BINARY NOT NULL COMMENT '原始字段名' ; + +ALTER TABLE `dataset_table_field` + CHANGE COLUMN `name` `name` LONGTEXT BINARY NOT NULL COMMENT '字段名名' ; + +ALTER TABLE `datasource` + CHANGE COLUMN `name` `name` VARCHAR(50) BINARY NOT NULL COMMENT '数据源名称' ;