From b7cea347605f74a54626ffbe1f0abc378cf3787c Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 6 Sep 2023 11:17:09 +0800 Subject: [PATCH] utf8mb4 --- config/database.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml.example b/config/database.yml.example index 0a70489d..bb24c812 100644 --- a/config/database.yml.example +++ b/config/database.yml.example @@ -13,7 +13,7 @@ default: &default host: <%= ENV.fetch("MYSQL_HOST") { '127.0.0.1' } %> username: <%= ENV.fetch("MYSQL_USER") { 'root' } %> password: <%= ENV.fetch("MYSQL_PWD") { '123456' } %> - encoding: utf8 + encoding: utf8mb4 development: <<: *default