From 4c095ba9bf254f43c1328a7123fa60fefd3b36b8 Mon Sep 17 00:00:00 2001 From: wisonic Date: Fri, 13 Dec 2024 15:53:32 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E6=8E=92=E5=BA=8F=20DDL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-backend/src/main/resources/db/desktop/V2.10.4__ddl.sql | 1 + .../src/main/resources/db/migration/V2.10.4__ddl.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-backend/src/main/resources/db/desktop/V2.10.4__ddl.sql b/core/core-backend/src/main/resources/db/desktop/V2.10.4__ddl.sql index 66edf3f1fd..cfc52e1ba5 100644 --- a/core/core-backend/src/main/resources/db/desktop/V2.10.4__ddl.sql +++ b/core/core-backend/src/main/resources/db/desktop/V2.10.4__ddl.sql @@ -1,3 +1,4 @@ UPDATE `visualization_background` SET `name` = 'Board10' WHERE `id` = 'dark_1'; UPDATE `visualization_subject` SET `name` = 'chart.light_theme' WHERE `id` = '10001'; UPDATE `visualization_subject` SET `name` = 'chart.dark_theme' WHERE `id` = '10002'; +ALTER TABLE core_chart_view ADD COLUMN sort_priority longtext null comment '字段排序优先级'; \ No newline at end of file diff --git a/core/core-backend/src/main/resources/db/migration/V2.10.4__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.10.4__ddl.sql index 921a566136..b2c52fb554 100644 --- a/core/core-backend/src/main/resources/db/migration/V2.10.4__ddl.sql +++ b/core/core-backend/src/main/resources/db/migration/V2.10.4__ddl.sql @@ -2,4 +2,4 @@ UPDATE `visualization_background` SET `name` = 'Board10' WHERE `id` = 'dark_1'; UPDATE `visualization_subject` SET `name` = 'chart.light_theme' WHERE `id` = '10001'; UPDATE `visualization_subject` SET `name` = 'chart.dark_theme' WHERE `id` = '10002'; CREATE INDEX idx_dataset_table_task_log_A ON core_datasource_task_log(ds_id, table_name, start_time); -ALTER TABLE core_chart_view ADD sort_priority longtext null comment '字段排序优先级'; +ALTER TABLE core_chart_view ADD COLUMN sort_priority longtext null comment '字段排序优先级';