doctrine.yaml 725 B

1234567891011121314151617181920212223
  1. doctrine:
  2. dbal:
  3. # configure these for your database server
  4. driver: 'pdo_mysql'
  5. server_version: '8.0'
  6. charset: utf8mb4
  7. default_table_options:
  8. charset: utf8mb4
  9. collate: utf8mb4_unicode_ci
  10. options:
  11. !php/const \PDO::ATTR_PERSISTENT: true
  12. url: '%env(resolve:DATABASE_URL)%'
  13. orm:
  14. auto_generate_proxy_classes: true
  15. naming_strategy: doctrine.orm.naming_strategy.default
  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