refactor(环境组): flyway处理历史数据

This commit is contained in:
shiziyuan9527 2021-11-24 14:40:32 +08:00 committed by 刘瑞斌
parent 326781d79d
commit 70e5b36632
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ alter table test_plan_api_scenario
alter table test_plan_api_scenario alter table test_plan_api_scenario
add environment_group_id varchar(50) null comment '场景使用的环境组ID'; add environment_group_id varchar(50) null comment '场景使用的环境组ID';
update test_plan_api_scenario set test_plan_api_scenario.environment_type = 'JSON' where test_plan_api_scenario.environment_type is null;
CREATE TABLE `environment_group` CREATE TABLE `environment_group`
( (
`id` varchar(50) COLLATE utf8mb4_bin NOT NULL COMMENT '环境组id', `id` varchar(50) COLLATE utf8mb4_bin NOT NULL COMMENT '环境组id',