Advertisement
fahmihilmansyah

Untitled

Nov 8th, 2018
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.78 KB | None | 0 0
  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_pgsql'
  12.         url: '%env(resolve:DATABASE_URL)%'
  13.     orm:
  14.         auto_generate_proxy_classes: '%kernel.debug%'
  15.         naming_strategy: doctrine.orm.naming_strategy.underscore
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement