doctrine.yaml 601 B

123456789101112131415161718
  1. doctrine:
  2. dbal:
  3. url: '%env(resolve:DATABASE_URL)%'
  4. # IMPORTANT: You MUST configure your server version,
  5. # either here or in the DATABASE_URL env var (see .env file)
  6. #server_version: '5.7'
  7. orm:
  8. auto_generate_proxy_classes: true
  9. naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
  10. auto_mapping: true
  11. mappings:
  12. App:
  13. is_bundle: false
  14. type: annotation
  15. dir: '%kernel.project_dir%/src/Entity'
  16. prefix: 'App\Entity'
  17. alias: App