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:
Luke Towers 2018-01-26 09:44:27 -06:00 committed by GitHub
parent 8cb57cf353
commit cf01254b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ return [
'database' => 'database',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
],