fix(项目设置): 修改误报期望值数据类型

--bug=1041677 --user=陈建星 误报规则中匹配值支持输入换行符 https://www.tapd.cn/55049933/s/1533560
This commit is contained in:
AgAngle 2024-06-21 16:04:06 +08:00 committed by Craftsman
parent 536877b0cc
commit fee8402820

View File

@ -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;