build: 调整flyway

This commit is contained in:
CaptainB 2022-03-10 11:30:49 +08:00 committed by 刘瑞斌
parent fd51593dc0
commit d65142dd21
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ alter table api_scenario
add environment_group_id varchar(50) null; add environment_group_id varchar(50) null;
update api_scenario update api_scenario
set environment_json = api_scenario.scenario_definition -> '$.environmentMap' set environment_json = JSON_EXTRACT(api_scenario.scenario_definition, '$.environmentMap')
where api_scenario.environment_json is null; where api_scenario.environment_json is null;
update api_scenario set environment_type = 'JSON'; update api_scenario set environment_type = 'JSON';