From 0ea2ed933b0f140607e26fcd46ca6a79a6c936f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=84=E5=B0=98?= <122383162@qq.com> Date: Wed, 19 Aug 2020 16:52:36 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9database'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/php.xml | 11 +++++++++++ .idea/pingan_test.iml | 11 +++++++++++ config/database.php | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.idea/php.xml b/.idea/php.xml index aae222d..c60951e 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -119,6 +119,17 @@ + + + + + + + + + + + diff --git a/.idea/pingan_test.iml b/.idea/pingan_test.iml index c0b7a35..b4633d1 100644 --- a/.idea/pingan_test.iml +++ b/.idea/pingan_test.iml @@ -39,13 +39,17 @@ + + + + @@ -57,6 +61,8 @@ + + @@ -73,6 +79,8 @@ + + @@ -110,9 +118,12 @@ + + + diff --git a/config/database.php b/config/database.php index d379080..44f38f8 100644 --- a/config/database.php +++ b/config/database.php @@ -53,7 +53,7 @@ return [ 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_general_ci', + 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true,