Ported doctrine.orm from old config.yml.

This commit is contained in:
Alexey Skobkin 2023-04-01 21:31:34 +03:00
parent 65138f6868
commit 109c95fcdb
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 5 additions and 10 deletions

View file

@ -8,7 +8,7 @@ doctrine:
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
App:
@ -16,6 +16,10 @@ doctrine:
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App
dql:
string_functions:
# TODO fix to receive correct DateTime instead of string
DAY: App\DQL\Day
when@test:
doctrine:

View file

@ -56,15 +56,6 @@ doctrine:
password: "%database_password%"
charset: UTF8
orm:
auto_generate_proxy_classes: "%kernel.debug%"
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
dql:
string_functions:
# TODO fix to receive correct DateTime instead of string
DAY: Skobkin\Bundle\PointToolsBundle\DQL\Day
# Swiftmailer Configuration
swiftmailer:
transport: "%mailer_transport%"