From 17c16e09890a2649771fb55e2c8eaa2bea4e3fea Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Fri, 7 May 2021 16:42:42 +0800 Subject: [PATCH] fix: flyway --- .../src/main/resources/db/migration/V81__v1.9.1_release.sql | 3 --- .../src/main/resources/db/migration/V82__v1.9.2_release.sql | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/resources/db/migration/V81__v1.9.1_release.sql b/backend/src/main/resources/db/migration/V81__v1.9.1_release.sql index 3740e4c690..c1f4738b5d 100644 --- a/backend/src/main/resources/db/migration/V81__v1.9.1_release.sql +++ b/backend/src/main/resources/db/migration/V81__v1.9.1_release.sql @@ -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'; \ No newline at end of file diff --git a/backend/src/main/resources/db/migration/V82__v1.9.2_release.sql b/backend/src/main/resources/db/migration/V82__v1.9.2_release.sql index 432816ac82..3218ff61bc 100644 --- a/backend/src/main/resources/db/migration/V82__v1.9.2_release.sql +++ b/backend/src/main/resources/db/migration/V82__v1.9.2_release.sql @@ -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'; \ No newline at end of file