diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__beta_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__beta_ddl.sql index 6d6b3970be..54a7fe0845 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__beta_ddl.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__beta_ddl.sql @@ -195,6 +195,9 @@ SELECT id, report_id, content FROM api_scenario_report_detail; -- 删除原有的内容字段 ALTER TABLE api_scenario_report_detail DROP COLUMN content; +-- 修改 expression 为 text 类型 +ALTER TABLE fake_error DROP INDEX project_id_status; +ALTER TABLE fake_error MODIFY COLUMN expression text NOT NULL COMMENT '期望值'; -- set innodb lock wait timeout to default SET SESSION innodb_lock_wait_timeout = DEFAULT;