Updated Symfony Recipes - doctrine/doctrine-bundle

This commit is contained in:
2025-10-21 22:32:03 +02:00
parent 734a4a8fee
commit ca13863c41
5 changed files with 13 additions and 11 deletions
+3 -1
View File
@@ -14,6 +14,8 @@ doctrine:
report_fields_where_declared: true
validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
identity_generation_preferences:
Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
auto_mapping: true
mappings:
App:
@@ -23,7 +25,7 @@ doctrine:
prefix: 'App\Entity'
alias: App
controller_resolver:
auto_mapping: true
auto_mapping: false
when@test:
doctrine: