]> Raphaƫl G. Git Repositories - blog/blobdiff - config/packages/doctrine.yaml
Update doctrine bundle recipe
[blog] / config / packages / doctrine.yaml
index 9fe3f613c099fe9e77a742af7aea8f32ab4e317d..7eb11614b98f5f1aa71343b36c3269a59020a1db 100644 (file)
@@ -7,6 +7,7 @@ doctrine:
         #server_version: '16'
 
         profiling_collect_backtrace: '%kernel.debug%'
+        use_savepoints: true
     orm:
         auto_generate_proxy_classes: true
         enable_lazy_ghost_objects: true
@@ -14,13 +15,6 @@ doctrine:
         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
 
 when@test:
     doctrine: