fix(flyway): flyway修改

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-04-24 10:38:00 +08:00 committed by jianxing
parent 75130add3e
commit 44ea4bcd24
1 changed files with 0 additions and 14 deletions

View File

@ -268,20 +268,6 @@ END//
DELIMITER ;
CALL schema_change_plan();
DROP PROCEDURE IF EXISTS schema_change_scenario_one;
DELIMITER //
CREATE PROCEDURE schema_change_scenario_one() BEGIN
DECLARE CurrentDatabase VARCHAR(100);
SELECT DATABASE() INTO CurrentDatabase;
IF NOT EXISTS (SELECT * FROM information_schema.statistics WHERE table_schema=CurrentDatabase AND table_name = 'api_scenario_report' AND index_name = 'scenario_id_index') THEN
ALTER TABLE `api_scenario_report` ADD INDEX scenario_id_index ( `scenario_id` );
END IF;
END//
DELIMITER ;
CALL schema_change_scenario_one();
DROP PROCEDURE IF EXISTS schema_change_rela_one;
DELIMITER //
CREATE PROCEDURE schema_change_rela_one() BEGIN