build: 调整flyway

This commit is contained in:
CaptainB 2022-03-09 17:52:08 +08:00 committed by 刘瑞斌
parent 777e62dbb8
commit ef1c0acb83
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,6 @@
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_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);

View File

@ -1,6 +1,3 @@
-- module management
INSERT INTO system_parameter (param_key, param_value, type, sort)
VALUES ('metersphere.module.workstation', 'ENABLE', 'text', 1);
DROP PROCEDURE IF EXISTS project_api_appl;
DELIMITER //