Skip to content

Commit

Permalink
更新默认为 utf8mb4
Browse files Browse the repository at this point in the history
  • Loading branch information
sohaha authored Mar 19, 2021
1 parent 24ac97f commit 4341c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/config/default/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
'debug' => $debug,
'trace' => $trace,
'pconnect' => false,
'charset' => 'utf8',
'collate' => 'utf8_general_ci',
'charset' => 'utf8mb4',
'collate' => 'utf8mb4_general_ci',
'database' => $database,
'tablePrefix' => $tablePrefix,
'tablePrefixSqlIdentifier' => '_tablePrefix_',
Expand Down

0 comments on commit 4341c4f

Please sign in to comment.