2019-10-26 18:07:36 +02:00
|
|
|
parameters:
|
2026-04-10 12:57:03 +02:00
|
|
|
# Adds a fallback DATABASE_URL if the env var is not set.
|
|
|
|
|
# This allows you to run cache:warmup even if your
|
|
|
|
|
# environment variables are not available yet.
|
|
|
|
|
# You should not need to change this value.
|
|
|
|
|
env(DATABASE_URL): ''
|
2019-10-26 18:07:36 +02:00
|
|
|
|
|
|
|
|
doctrine:
|
2026-04-10 12:57:03 +02:00
|
|
|
dbal:
|
2026-04-13 11:56:50 +02:00
|
|
|
driver: 'pdo_pgsql'
|
2026-04-10 12:57:03 +02:00
|
|
|
url: '%env(resolve:DATABASE_URL)%'
|
2026-04-09 20:21:01 +02:00
|
|
|
|
2026-04-10 12:57:03 +02:00
|
|
|
orm:
|
2026-04-20 09:05:36 +02:00
|
|
|
enable_native_lazy_objects: true
|
2026-04-10 12:57:03 +02:00
|
|
|
naming_strategy: doctrine.orm.naming_strategy.underscore
|
|
|
|
|
auto_mapping: true
|
2026-04-20 20:44:33 +02:00
|
|
|
schema_ignore_classes:
|
|
|
|
|
- App\Entity\UserStats
|
2026-04-20 21:08:15 +02:00
|
|
|
- App\Entity\RecentBattle
|
2026-04-10 12:57:03 +02:00
|
|
|
mappings:
|
|
|
|
|
App:
|
|
|
|
|
is_bundle: false
|
|
|
|
|
type: attribute
|
|
|
|
|
dir: '%kernel.project_dir%/src/Entity'
|
|
|
|
|
prefix: 'App\Entity'
|
|
|
|
|
alias: App
|