From ef9db3c5c6b5b590448717a39fb5ff359c7e401e Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 9 Jan 2023 16:24:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=A7=E5=B0=8F=E5=86=99=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=8C=87=E6=A0=87=E5=92=8C=E7=BB=B4=E5=BA=A6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/db/migration/V48__1.18.1.sql | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 '数据源名称' ;