X-Git-Url: https://git.rapsys.eu/blog/blobdiff_plain/5da8ae47a099fd021957d9d129be03e5c91759db..21898a5f9ff04b458401ca0e5637bb9f679a25b6:/config/packages/doctrine.yaml?ds=sidebyside diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 9fe3f61..cd55026 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -7,20 +7,17 @@ doctrine: #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 - 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: