Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

35 linhas
1.1 KiB

  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. doctrine:
  8. dbal:
  9. # configure these for your database server
  10. driver: 'pdo_mysql'
  11. server_version: '10.4.14-MariaDB'
  12. charset: utf8
  13. mapping_types:
  14. enum: string
  15. default_table_options:
  16. charset: utf8
  17. collate: utf8_unicode_ci
  18. options:
  19. 1002: "SET NAMES 'UTF8' COLLATE 'utf8_unicode_ci'"
  20. # With Symfony 3.3, remove the `resolve:` prefix
  21. url: '%env(resolve:DATABASE_URL)%'
  22. orm:
  23. auto_generate_proxy_classes: '%kernel.debug%'
  24. naming_strategy: doctrine.orm.naming_strategy.underscore
  25. auto_mapping: true
  26. mappings:
  27. App:
  28. is_bundle: false
  29. type: annotation
  30. dir: '%kernel.project_dir%/src/Entity'
  31. prefix: 'App\Entity'
  32. alias: App