From d72de5d0f6e3e8ded234d720399d5cbdf080a604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20G=C3=B3mez?= Date: Sun, 18 Feb 2018 01:47:46 +0100 Subject: [PATCH] Added charset and collate to doctrine default table options --- doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml b/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml index ee77d618..6c819716 100644 --- a/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml +++ b/doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml @@ -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)%'