czydojade/api/config/packages/doctrine.yaml
2020-11-01 17:57:06 +01:00

24 lines
625 B
YAML

parameters:
env(DATABASE_URL): ''
doctrine:
dbal:
driver: 'pdo_sqlite'
url: '%env(resolve:DATABASE_URL)%'
logging: true
profiling: true
types:
datetime: App\Doctrine\CarbonDateTimeType
orm:
auto_generate_proxy_classes: '%kernel.debug%'
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
App:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: Entity