]> Raphaƫl G. Git Repositories - blog/blobdiff - config/packages/doctrine.yaml
Update doctrine package config
[blog] / config / packages / doctrine.yaml
index 9fe3f613c099fe9e77a742af7aea8f32ab4e317d..cd55026148efb7428dea6403a88954fddb1df23b 100644 (file)
@@ -7,20 +7,17 @@ doctrine:
         #server_version: '16'
 
         profiling_collect_backtrace: '%kernel.debug%'
         #server_version: '16'
 
         profiling_collect_backtrace: '%kernel.debug%'
+        use_savepoints: true
     orm:
         auto_generate_proxy_classes: true
         enable_lazy_ghost_objects: true
         report_fields_where_declared: true
         validate_xml_mapping: true
         naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
     orm:
         auto_generate_proxy_classes: true
         enable_lazy_ghost_objects: true
         report_fields_where_declared: true
         validate_xml_mapping: true
         naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
-        auto_mapping: true
-        mappings:
-            App:
-                type: attribute
-                is_bundle: false
-                dir: '%kernel.project_dir%/src/Entity'
-                prefix: 'App\Entity'
-                alias: App
+        identity_generation_preferences:
+            Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
+        controller_resolver:
+            auto_mapping: false
 
 when@test:
     doctrine:
 
 when@test:
     doctrine: