Não pode escolher mais do que 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.
 
 
 
 
 

43 linhas
1.2 KiB

  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: '13'
  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. dir: '%kernel.project_dir%/src/Entity'
  15. prefix: 'App\Entity'
  16. alias: App
  17. when@test:
  18. doctrine:
  19. dbal:
  20. # "TEST_TOKEN" is typically set by ParaTest
  21. dbname_suffix: '_test%env(default::TEST_TOKEN)%'
  22. when@prod:
  23. doctrine:
  24. orm:
  25. auto_generate_proxy_classes: false
  26. query_cache_driver:
  27. type: pool
  28. pool: doctrine.system_cache_pool
  29. result_cache_driver:
  30. type: pool
  31. pool: doctrine.result_cache_pool
  32. framework:
  33. cache:
  34. pools:
  35. doctrine.result_cache_pool:
  36. adapter: cache.app
  37. doctrine.system_cache_pool:
  38. adapter: cache.system