Use utf8mb4 encoding for MySQL instead of utf8

This commit is contained in:
Frédéric Guillot
2018-04-12 13:41:32 -07:00
parent dd92564d22
commit d8c625c856
3 changed files with 214 additions and 144 deletions

View File

@@ -130,7 +130,7 @@ class DatabaseProvider implements ServiceProviderInterface
'username' => DB_USERNAME,
'password' => DB_PASSWORD,
'database' => DB_NAME,
'charset' => 'utf8',
'charset' => 'utf8mb4',
'port' => DB_PORT,
'ssl_key' => DB_SSL_KEY,
'ssl_ca' => DB_SSL_CA,