Added charset and collate to doctrine default table options

This commit is contained in:
Félix Gómez
2018-02-18 01:47:46 +01:00
parent 3fe71d785c
commit d72de5d0f6
@@ -11,6 +11,9 @@ doctrine:
driver: 'pdo_mysql'
server_version: '5.7'
charset: utf8mb4
default_table_options:
charset: utf8mb4
collate: utf8mb4_unicode_ci
# With Symfony 3.3, remove the `resolve:` prefix
url: '%env(resolve:DATABASE_URL)%'