From fee8402820676ae7e1d8da1617f3356ffa1ccea6 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Fri, 21 Jun 2024 16:04:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=AF=E6=8A=A5=E6=9C=9F=E6=9C=9B=E5=80=BC?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1041677 --user=陈建星 误报规则中匹配值支持输入换行符 https://www.tapd.cn/55049933/s/1533560 --- .../main/resources/migration/3.0.0/ddl/V3.0.0_12__beta_ddl.sql | 3 +++ 1 file changed, 3 insertions(+) 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;