diff --git a/core/core-backend/src/main/resources/db/desktop/V2.10.19__ddl.sql b/core/core-backend/src/main/resources/db/desktop/V2.10.19_2__ddl.sql similarity index 100% rename from core/core-backend/src/main/resources/db/desktop/V2.10.19__ddl.sql rename to core/core-backend/src/main/resources/db/desktop/V2.10.19_2__ddl.sql diff --git a/core/core-backend/src/main/resources/db/migration/V2.10.19_2_ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.10.19_2_ddl.sql new file mode 100644 index 0000000000..10068bace3 --- /dev/null +++ b/core/core-backend/src/main/resources/db/migration/V2.10.19_2_ddl.sql @@ -0,0 +1,5 @@ +ALTER TABLE `snapshot_visualization_outer_params_target_view_info` + ADD COLUMN `match_mode` varchar(255) NULL DEFAULT 'self' COMMENT '匹配方式' AFTER `target_ds_id`; + +ALTER TABLE `visualization_outer_params_target_view_info` + ADD COLUMN `match_mode` varchar(255) NULL DEFAULT 'self' COMMENT '匹配方式' AFTER `target_ds_id`; diff --git a/core/core-backend/src/main/resources/db/migration/V2.10.19__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.10.19__ddl.sql index 3fc7102979..105e1eb1b6 100644 --- a/core/core-backend/src/main/resources/db/migration/V2.10.19__ddl.sql +++ b/core/core-backend/src/main/resources/db/migration/V2.10.19__ddl.sql @@ -1,8 +1,2 @@ ALTER TABLE `xpack_threshold_info` - ADD COLUMN `show_field_value` tinyint(1) NOT NULL DEFAULT 0 COMMENT '显示字段值' AFTER `repeat_send`; - -ALTER TABLE `snapshot_visualization_outer_params_target_view_info` - ADD COLUMN `match_mode` varchar(255) NULL DEFAULT 'self' COMMENT '匹配方式' AFTER `target_ds_id`; - -ALTER TABLE `visualization_outer_params_target_view_info` - ADD COLUMN `match_mode` varchar(255) NULL DEFAULT 'self' COMMENT '匹配方式' AFTER `target_ds_id`; + ADD COLUMN `show_field_value` tinyint(1) NOT NULL DEFAULT 0 COMMENT '显示字段值' AFTER `repeat_send`; \ No newline at end of file