X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/blog/blobdiff_plain/b2615c44c8c83e3aa9b14b73dd1ed152f623d3d4..21898a5f9ff04b458401ca0e5637bb9f679a25b6:/config/packages/doctrine.yaml?ds=sidebyside diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 7eb1161..cd55026 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -14,7 +14,10 @@ doctrine: 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: