]> Raphaël G. Git Repositories - blogbundle/commitdiff
Add doctrine dbal default charset and collate parameters
authorRaphaël Gertz <git@rapsys.eu>
Sun, 28 Jan 2024 05:56:55 +0000 (05:56 +0000)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 28 Jan 2024 05:56:55 +0000 (05:56 +0000)
Resources/config/packages/rapsys_blog.yaml

index 5511844d5262a5d5527ef2c64a672fcd5dc66a44..660ca0f0be9ca855bfa670ef04ce24cc44dede41 100644 (file)
@@ -160,6 +160,12 @@ rapsys_user:
 
 # Doctrine configuration
 doctrine:
 
 # Doctrine configuration
 doctrine:
+    # Dbal configuration
+    dbal:
+        charset: 'utf8mb4'
+        default_table_options:
+            charset: 'utf8mb4'
+            collate: 'utf8mb4_unicode_ci'
     # Orm configuration
     orm:
         # Replace repository factory
     # Orm configuration
     orm:
         # Replace repository factory