|
@@ -4,9 +4,10 @@ doctrine:
|
|
|
|
|
|
# IMPORTANT: You MUST configure your server version,
|
|
|
# either here or in the DATABASE_URL env var (see .env file)
|
|
|
- #server_version: '13'
|
|
|
+ #server_version: '15'
|
|
|
orm:
|
|
|
auto_generate_proxy_classes: true
|
|
|
+ enable_lazy_ghost_objects: true
|
|
|
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
|
|
|
auto_mapping: true
|
|
|
mappings:
|
|
@@ -27,6 +28,7 @@ when@prod:
|
|
|
doctrine:
|
|
|
orm:
|
|
|
auto_generate_proxy_classes: false
|
|
|
+ proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'
|
|
|
query_cache_driver:
|
|
|
type: pool
|
|
|
pool: doctrine.system_cache_pool
|