Ported doctrine.orm from old config.yml.
This commit is contained in:
parent
65138f6868
commit
109c95fcdb
|
@ -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:
|
||||
|
|
|
@ -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%"
|
||||
|
|
Loading…
Reference in a new issue