fix: flyway

This commit is contained in:
shiziyuan9527 2021-05-07 16:42:42 +08:00 committed by 刘瑞斌
parent 331b241dc1
commit 4afbd0fb42
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1 @@
ALTER TABLE api_scenario_report MODIFY COLUMN scenario_name VARCHAR(3000);
alter table project add scenario_custom_num tinyint(1) default 0 null comment '是否开启场景自定义ID(默认关闭)';
alter table api_scenario add custom_num varchar(64) null comment 'custom num';

View File

@ -4,3 +4,6 @@ ALTER TABLE issues ADD creator varchar(50) NULL COMMENT 'Creator';
-- 删除创建人的自定义字段
delete cft,cf from custom_field_template cft,custom_field cf
where cft.field_id = cf.id and cf.name = '创建人' and cf.scene = 'ISSUE';
alter table project add scenario_custom_num tinyint(1) default 0 null comment '是否开启场景自定义ID(默认关闭)';
alter table api_scenario add custom_num varchar(64) null comment 'custom num';