2019-10-25 14:13:11 +02:00
|
|
|
doctrine:
|
2019-10-25 14:59:20 +02:00
|
|
|
dbal:
|
|
|
|
# configure these for your database server
|
|
|
|
# use postgresql for PostgreSQL
|
|
|
|
# use sqlite for SQLite
|
|
|
|
driver: 'mysql'
|
|
|
|
server_version: '5.7'
|
2019-10-25 14:13:11 +02:00
|
|
|
|
2019-10-25 14:59:20 +02:00
|
|
|
# only needed for MySQL
|
|
|
|
charset: utf8mb4
|
|
|
|
default_table_options:
|
|
|
|
charset: utf8mb4
|
|
|
|
collate: utf8mb4_unicode_ci
|
2019-10-25 14:13:11 +02:00
|
|
|
|
2019-10-25 14:59:20 +02:00
|
|
|
url: '%env(resolve:DATABASE_URL)%'
|
|
|
|
orm:
|
|
|
|
auto_generate_proxy_classes: true
|
|
|
|
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: App
|