]> Raphaƫl G. Git Repositories - airlibre/blob - config/packages/doctrine.yaml
Update to symfony 5.x
[airlibre] / config / packages / doctrine.yaml
1 doctrine:
2 dbal:
3 url: '%env(resolve:DATABASE_URL)%'
4
5 # IMPORTANT: You MUST configure your server version,
6 # either here or in the DATABASE_URL env var (see .env file)
7 #server_version: '5.7'
8
9 # only needed for MySQL
10 charset: utf8mb4
11 default_table_options:
12 collate: utf8mb4_unicode_ci
13 orm:
14 auto_generate_proxy_classes: true
15 naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
16 auto_mapping: true
17 mappings:
18 App:
19 is_bundle: false
20 type: annotation
21 dir: '%kernel.project_dir%/src/Entity'
22 prefix: 'App\Entity'
23 alias: App