From 75dc26c92e837c065a391a37229cd57b384ac5fa Mon Sep 17 00:00:00 2001 From: jianxing Date: Wed, 21 Jun 2023 14:27:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=BA=E9=99=B7=E8=AF=84=E8=AE=BA=E5=92=8C?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E9=99=84=E4=BB=B6=E8=A1=A8=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/db/migration/V103__v1.16_release.sql | 2 +- .../src/main/resources/db/migration/V30__test_case_file.sql | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/main/resources/db/migration/V103__v1.16_release.sql b/backend/src/main/resources/db/migration/V103__v1.16_release.sql index 89e68a2777..f9c1c49143 100644 --- a/backend/src/main/resources/db/migration/V103__v1.16_release.sql +++ b/backend/src/main/resources/db/migration/V103__v1.16_release.sql @@ -76,7 +76,7 @@ CREATE TABLE `issue_comment` `status` varchar(80) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE = InnoDB - DEFAULT CHARSET = utf8; + DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci; CREATE TABLE IF NOT EXISTS `api_execution_queue` ( diff --git a/backend/src/main/resources/db/migration/V30__test_case_file.sql b/backend/src/main/resources/db/migration/V30__test_case_file.sql index f4b2c4a3d4..f5d28b5065 100644 --- a/backend/src/main/resources/db/migration/V30__test_case_file.sql +++ b/backend/src/main/resources/db/migration/V30__test_case_file.sql @@ -4,4 +4,5 @@ create table if not exists test_case_file file_id varchar(64) null, constraint test_case_file_unique_key unique (case_id, file_id) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE = InnoDB + DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;