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 9e56b953b3..20cc1230f2 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 @@ -68,3 +68,13 @@ ALTER TABLE `load_test_report` ALTER TABLE test_case DROP COLUMN other_test_name; ALTER TABLE test_plan DROP COLUMN test_case_match_rule; 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` 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`);