Files
ltbxd-actorle/config/packages/doctrine.yaml
thibaud-leclere 67571e8b33 feat: add AwardTypeRepository::findWithMinActors()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 22:58:52 +02:00

58 lines
1.6 KiB
YAML

doctrine:
dbal:
driver: pdo_pgsql
host: '%postgres_host%'
port: '%postgres_port%'
dbname: '%postgres_db%'
user: '%postgres_user%'
password: '%postgres_password%'
server_version: '%postgres_version%'
charset: utf8
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
profiling_collect_backtrace: '%kernel.debug%'
orm:
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:
type: attribute
is_bundle: false
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App
controller_resolver:
auto_mapping: false
dql:
numeric_functions:
Random: App\Doctrine\Extension\Random
when@test:
doctrine:
dbal:
dbname: app_test
when@prod:
doctrine:
orm:
query_cache_driver:
type: pool
pool: doctrine.system_cache_pool
result_cache_driver:
type: pool
pool: doctrine.result_cache_pool
framework:
cache:
pools:
doctrine.result_cache_pool:
adapter: cache.app
doctrine.system_cache_pool:
adapter: cache.system