Browse Source

存昵称不能存表情问题

sunxbiao 1 year ago
parent
commit
d21115446a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -33,7 +33,7 @@ return [
33
             // 数据库连接参数
33
             // 数据库连接参数
34
             'params'            => [],
34
             'params'            => [],
35
             // 数据库编码默认采用utf8
35
             // 数据库编码默认采用utf8
36
-            'charset'           => env('database.charset', 'utf8'),
36
+            'charset'           => env('database.charset', 'utf8mb4'),
37
             // 数据库表前缀
37
             // 数据库表前缀
38
             'prefix'            => env('database.prefix', ''),
38
             'prefix'            => env('database.prefix', ''),
39
 
39