chill-skeleton-basic/config/packages/doctrine.yaml

23 lines
731 B
YAML
Raw Normal View History

2022-07-11 17:27:00 +00:00
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
mapping_types:
geometry: string
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
2022-12-29 21:55:13 +00:00
#server_version: '14'
2022-07-11 17:27:00 +00:00
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.default
auto_mapping: true
2022-12-29 21:55:13 +00:00
query_cache_driver:
type: pool
pool: doctrine.system_cache_pool
2022-07-11 17:27:00 +00:00
mappings:
App:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App