Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. doctrine:
  2. dbal:
  3. # configure these for your database server
  4. driver: 'pdo_mysql'
  5. server_version: '5.7'
  6. charset: utf8mb4
  7. default_table_options:
  8. charset: utf8mb4
  9. collate: utf8mb4_unicode_ci
  10.  
  11. url: '%env(resolve:DATABASE_URL)%'
  12. types:
  13. json: Sonata\Doctrine\Types\JsonType
  14.  
  15. orm:
  16. auto_generate_proxy_classes: true
  17. entity_managers:
  18. default:
  19. naming_strategy: doctrine.orm.naming_strategy.underscore
  20. auto_mapping: true
  21. mappings:
  22. FOSUserBundle: ~
  23. SonataUserBundle: ~
  24. ApplicationSonataUserBundle: ~
  25. SonataMediaBundle: ~
  26. App:
  27. is_bundle: false
  28. type: annotation
  29. dir: '%kernel.project_dir%/src/Entity'
  30. prefix: 'App\Entity'
  31. alias: App
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement