mirror of
https://github.com/symfony/recipes.git
synced 2026-09-19 19:16:25 +03:00
23 lines
747 B
YAML
23 lines
747 B
YAML
doctrine:
|
|
dbal:
|
|
driver: "%env(DB_DRIVER)%"
|
|
host: "%env(DB_HOST)%"
|
|
port: "%env(DB_PORT)%"
|
|
dbname: "%env(DB_NAME)%"
|
|
user: "%env(DB_USER)%"
|
|
password: "%env(DB_PASSWORD)%"
|
|
charset: UTF8
|
|
# if using pdo_sqlite as your database driver, uncomment next line:
|
|
# path: "%kernel.root_dir%/../var/data.db"
|
|
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.root_dir%/../src/Entity"
|
|
prefix: "App\\Entity\\"
|
|
alias: App
|