build: 调整flyway

This commit is contained in:
CaptainB 2022-03-11 16:08:37 +08:00 committed by 刘瑞斌
parent 9aad9aca84
commit 85d8b8ebc4
1 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
ALTER TABLE `api_definition_exec_result` ADD INDEX projectIdIndex ( `project_id` );
ALTER TABLE `api_scenario_report` ADD INDEX projectIdIndex ( `project_id` );
ALTER TABLE `api_scenario_report` ADD INDEX projectIdexectypeIndex ( `project_id`,`execute_type` );
ALTER TABLE `api_definition_exec_result`
ADD INDEX projectIdIndex (`project_id`);
ALTER TABLE `api_scenario_report`
ADD INDEX projectIdIndex (`project_id`);
ALTER TABLE `api_scenario_report`
ADD INDEX projectIdexectypeIndex (`project_id`, `execute_type`);
-- module management
INSERT INTO system_parameter (param_key, param_value, type, sort)
VALUES ('metersphere.module.workstation', 'ENABLE', 'text', 1);