]> Raphaƫl G. Git Repositories - blog/blobdiff - config/packages/doctrine.yaml
Update doctrine package config
[blog] / config / packages / doctrine.yaml
index 7eb11614b98f5f1aa71343b36c3269a59020a1db..cd55026148efb7428dea6403a88954fddb1df23b 100644 (file)
@@ -14,7 +14,10 @@ doctrine:
         report_fields_where_declared: true
         validate_xml_mapping: true
         naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
         report_fields_where_declared: true
         validate_xml_mapping: true
         naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
-        auto_mapping: true
+        identity_generation_preferences:
+            Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
+        controller_resolver:
+            auto_mapping: false
 
 when@test:
     doctrine:
 
 when@test:
     doctrine: