Use utf8mb4 as the default character set
Will properly support emojis and other multibyte characters being stored. Laravel implemented as default in 5.4: 9d01389ce3
This commit is contained in:
parent
8cb57cf353
commit
cf01254b2b
|
|
@ -59,8 +59,8 @@ return [
|
|||
'database' => 'database',
|
||||
'username' => 'root',
|
||||
'password' => '',
|
||||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'charset' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => '',
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue