Skip to content

Commit d72de5d

Browse files
committed
Added charset and collate to doctrine default table options
1 parent 3fe71d7 commit d72de5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ doctrine:
1111
driver: 'pdo_mysql'
1212
server_version: '5.7'
1313
charset: utf8mb4
14+
default_table_options:
15+
charset: utf8mb4
16+
collate: utf8mb4_unicode_ci
1417

1518
# With Symfony 3.3, remove the `resolve:` prefix
1619
url: '%env(resolve:DATABASE_URL)%'

0 commit comments

Comments
 (0)