doctrine.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. doctrine:
  2. dbal:
  3. url: '%env(resolve:DATABASE_URL)%'
  4. charset: UTF8
  5. schema_filter: ~^(?!rememberme_token)~ # Ignore these in migrations
  6. orm:
  7. auto_generate_proxy_classes: true
  8. naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
  9. auto_mapping: true
  10. # Defined in the compiler pass to use SchemaDefDriver
  11. # mappings:
  12. # App:
  13. # is_bundle: false
  14. # type: staticphp
  15. # dir: '%kernel.project_dir%/src/Entity'
  16. # prefix: 'App\Entity'
  17. # alias: App
  18. dql:
  19. datetime_functions:
  20. date: Oro\ORM\Query\AST\Functions\SimpleFunction
  21. time: Oro\ORM\Query\AST\Functions\SimpleFunction
  22. timestamp: Oro\ORM\Query\AST\Functions\SimpleFunction
  23. convert_tz: Oro\ORM\Query\AST\Functions\DateTime\ConvertTz
  24. numeric_functions:
  25. timestampdiff: Oro\ORM\Query\AST\Functions\Numeric\TimestampDiff
  26. dayofyear: Oro\ORM\Query\AST\Functions\SimpleFunction
  27. dayofmonth: Oro\ORM\Query\AST\Functions\SimpleFunction
  28. dayofweek: Oro\ORM\Query\AST\Functions\SimpleFunction
  29. week: Oro\ORM\Query\AST\Functions\SimpleFunction
  30. day: Oro\ORM\Query\AST\Functions\SimpleFunction
  31. hour: Oro\ORM\Query\AST\Functions\SimpleFunction
  32. minute: Oro\ORM\Query\AST\Functions\SimpleFunction
  33. month: Oro\ORM\Query\AST\Functions\SimpleFunction
  34. quarter: Oro\ORM\Query\AST\Functions\SimpleFunction
  35. second: Oro\ORM\Query\AST\Functions\SimpleFunction
  36. year: Oro\ORM\Query\AST\Functions\SimpleFunction
  37. sign: Oro\ORM\Query\AST\Functions\Numeric\Sign
  38. pow: Oro\ORM\Query\AST\Functions\Numeric\Pow
  39. round: Oro\ORM\Query\AST\Functions\Numeric\Round
  40. ceil: Oro\ORM\Query\AST\Functions\SimpleFunction
  41. string_functions:
  42. md5: Oro\ORM\Query\AST\Functions\SimpleFunction
  43. group_concat: Oro\ORM\Query\AST\Functions\String\GroupConcat
  44. concat_ws: Oro\ORM\Query\AST\Functions\String\ConcatWs
  45. cast: Oro\ORM\Query\AST\Functions\Cast
  46. replace: Oro\ORM\Query\AST\Functions\String\Replace
  47. date_format: Oro\ORM\Query\AST\Functions\String\DateFormat