From 3203a60ddac1b02e2dd0737d4847a3ab10f160e4 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 17 Mar 2023 11:31:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=80=BC=E7=9A=84=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2.8.0/ddl/V10__alter_custom_field_value_length.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-track/backend/src/main/resources/db/migration/2.8.0/ddl/V10__alter_custom_field_value_length.sql diff --git a/test-track/backend/src/main/resources/db/migration/2.8.0/ddl/V10__alter_custom_field_value_length.sql b/test-track/backend/src/main/resources/db/migration/2.8.0/ddl/V10__alter_custom_field_value_length.sql new file mode 100644 index 0000000000..89672dad31 --- /dev/null +++ b/test-track/backend/src/main/resources/db/migration/2.8.0/ddl/V10__alter_custom_field_value_length.sql @@ -0,0 +1,7 @@ +SET SESSION innodb_lock_wait_timeout = 7200; + +-- 增加自定义字段值的长度 +ALTER TABLE custom_field_issues MODIFY COLUMN `value` varchar(1000) NULL; +ALTER TABLE custom_field_test_case MODIFY COLUMN `value` varchar(1000) NULL; + +SET SESSION innodb_lock_wait_timeout = DEFAULT;