Spookie/config/packages/doctrine.yaml

19 lines
615 B
YAML
Raw Normal View History

2021-05-30 17:34:33 +02:00
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
2021-05-30 17:41:18 +02:00
server_version: '10.5.9-MariaDB-log'
2021-05-30 17:34:33 +02:00
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
mappings:
App:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App