From 9e4ad9c156c4c4e9f5fb6cc5c55fe4ea69f8afe4 Mon Sep 17 00:00:00 2001 From: Lloyd Zhou Date: Wed, 3 Jan 2024 15:38:06 +0800 Subject: [PATCH] Hotfix lloyd (#14) * update mysql sql_mode --- deploy/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 73389028..e107c238 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -38,7 +38,7 @@ services: TZ: 'Asia/Shanghai' ports: - "3306" - command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION proxy: image: jwilder/nginx-proxy:alpine