| 1 | parameters: |
| 2 | # Adds a fallback DATABASE_URL if the env var is not set. |
| 3 | # This allows you to run cache:warmup even if your |
| 4 | # environment variables are not available yet. |
| 5 | # You should not need to change this value. |
| 6 | env(DATABASE_URL): '' |
| 7 | |
| 8 | doctrine: |
| 9 | dbal: |
| 10 | # configure these for your database server |
| 11 | driver: 'pdo_mysql' |
| 12 | server_version: '5.7' |
| 13 | charset: utf8mb4 |
| 14 | default_table_options: |
| 15 | charset: utf8mb4 |
| 16 | collate: utf8mb4_unicode_ci |
| 17 | |
| 18 | url: '%env(resolve:DATABASE_URL)%' |
| 19 | orm: |
| 20 | auto_generate_proxy_classes: '%kernel.debug%' |
| 21 | naming_strategy: doctrine.orm.naming_strategy.underscore |
| 22 | auto_mapping: true |
| 23 | mappings: |
| 24 | App: |
| 25 | is_bundle: false |
| 26 | type: annotation |
| 27 | dir: '%kernel.project_dir%/src/Entity' |
| 28 | prefix: 'App\Entity' |
| 29 | alias: App |