From 79d95d1997863cfad31e5dcd06735788ab24bead Mon Sep 17 00:00:00 2001 From: lijiahang Date: Thu, 27 Jun 2024 13:31:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?:pencil:=20=E4=BF=AE=E6=94=B9=20sql.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/init-2-schema-tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/init-2-schema-tables.sql b/sql/init-2-schema-tables.sql index db1157eb..04c28295 100644 --- a/sql/init-2-schema-tables.sql +++ b/sql/init-2-schema-tables.sql @@ -597,7 +597,7 @@ CREATE TABLE `preference` ( `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id', `user_id` bigint(0) NULL DEFAULT NULL COMMENT '用户id', - `type` char(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '偏好类型', + `type` char(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '偏好类型', `item` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配置项', `value` json NULL COMMENT '配置值', `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', From 8d85cdf1732af3495c5ff59f8a9d2028cfe34066 Mon Sep 17 00:00:00 2001 From: lijiahang Date: Thu, 27 Jun 2024 13:44:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?:rocket:=20=E4=BF=AE=E6=94=B9=20e2e=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/e2e.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 0612fc7d..09e4b46d 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true jobs: - test: + testing: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -19,4 +19,4 @@ jobs: run: | sudo curl -L https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose sudo chmod u+x /usr/local/bin/docker-compose - docker compose up --build testing --exit-code-from testing --remove-orphans -f docker-compose-testing.yml + docker compose -f docker-compose-testing.yml up --build testing --exit-code-from testing --remove-orphans