From 7fba1a8369a6d86287206d1fb6e9f43a4f26303a Mon Sep 17 00:00:00 2001 From: Aofei Sheng Date: Thu, 17 Oct 2024 09:15:30 +0800 Subject: [PATCH] chore(spx-backend): fix `GOP_SPX_DSN` in `.env.dev` - Use `utf8mb4` instead of `utf8` for full Unicode support. (Fixes #987) - Set `loc` to `UTC` for consistent time zone handling. Signed-off-by: Aofei Sheng --- spx-backend/.env.dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spx-backend/.env.dev b/spx-backend/.env.dev index a53aadc9..388b2b16 100644 --- a/spx-backend/.env.dev +++ b/spx-backend/.env.dev @@ -1,7 +1,7 @@ PORT=:8080 ALLOWED_ORIGIN=* # Use local DB by default for dev -GOP_SPX_DSN=root:123456@tcp(127.0.0.1:3306)/builder?charset=utf8&parseTime=True&loc=Local +GOP_SPX_DSN=root:123456@tcp(127.0.0.1:3306)/builder?charset=utf8mb4&parseTime=True&loc=UTC # AIGC Service AIGC_ENDPOINT=http://36.213.14.15:8888