From 55fa40f47a8466205c754810b158033575af151c Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 17 Aug 2022 10:07:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(flyway):=20=E5=8E=BB=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=9A=84=E7=B4=A2=E5=BC=95=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去除多余的索引设置 --- .../main/resources/db/migration/V129__2.1.0__release.sql | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/backend/src/main/resources/db/migration/V129__2.1.0__release.sql b/backend/src/main/resources/db/migration/V129__2.1.0__release.sql index a087cac2b4..e42d9fc94c 100644 --- a/backend/src/main/resources/db/migration/V129__2.1.0__release.sql +++ b/backend/src/main/resources/db/migration/V129__2.1.0__release.sql @@ -71,13 +71,9 @@ ALTER TABLE test_plan DROP COLUMN executor_match_rule; -- V130_2-1-0_Add_Ui_Index -- -ALTER TABLE `ui_scenario_module` ADD INDEX index_project_id (`project_id`); +ALTER TABLE `ui_scenario_module` ADD INDEX index_project_id (`project_id`); -ALTER TABLE `ui_scenario` ADD INDEX index_project_id (`project_id`); - -ALTER TABLE `ui_scenario` ADD INDEX index_module_id (`module_id`); - -ALTER TABLE `ui_scenario` ADD INDEX index_project_id_status_module_id (`project_id`,`STATUS`,`module_id`); +ALTER TABLE `ui_scenario` ADD INDEX index_project_id_status_module_id (`project_id`,`status`,`module_id`); -- V128__2-1-0_feat_file_manage -- file_metadata 新增字段