mirror of
https://github.com/tchapi/davis.git
synced 2025-01-18 05:18:35 +01:00
28 lines
802 B
YAML
28 lines
802 B
YAML
doctrine:
|
|
dbal:
|
|
# configure these for your database server
|
|
# use postgresql for PostgreSQL
|
|
# use sqlite for SQLite
|
|
driver: 'mysql'
|
|
server_version: '5.7'
|
|
override_url: true
|
|
|
|
# only needed for MySQL
|
|
charset: utf8mb4
|
|
default_table_options:
|
|
charset: utf8mb4
|
|
collate: utf8mb4_unicode_ci
|
|
|
|
url: '%env(resolve:DATABASE_URL)%'
|
|
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
|