deps: upgrade doctrine recipe

This commit is contained in:
2022-12-29 22:55:13 +01:00
parent beab370cd6
commit da2f5f37c0
5 changed files with 20 additions and 11 deletions

View File

@@ -5,11 +5,14 @@ doctrine:
geometry: string
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '5.7'
#server_version: '14'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.default
auto_mapping: true
query_cache_driver:
type: pool
pool: doctrine.system_cache_pool
mappings:
App:
is_bundle: false

View File

@@ -1,9 +1,6 @@
doctrine:
orm:
auto_generate_proxy_classes: false
metadata_cache_driver:
type: pool
pool: doctrine.system_cache_pool
query_cache_driver:
type: pool
pool: doctrine.system_cache_pool

View File

@@ -0,0 +1,4 @@
doctrine:
dbal:
# "TEST_TOKEN" is typically set by ParaTest
dbname: 'main_test%env(default::TEST_TOKEN)%'