Skip to content

Commit

Permalink
Enable use_savepoints by default for Doctrine DBAL (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot authored Feb 8, 2024
1 parent 9a1033f commit ca74983
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ doctrine:
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ doctrine:
#server_version: '16'

profiling_collect_backtrace: '%kernel.debug%'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
Expand Down
1 change: 1 addition & 0 deletions doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ doctrine:
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
Expand Down
1 change: 1 addition & 0 deletions doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ doctrine:
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
Expand Down
1 change: 1 addition & 0 deletions doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ doctrine:
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
Expand Down
1 change: 1 addition & 0 deletions doctrine/doctrine-bundle/2.9/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ doctrine:
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
Expand Down

0 comments on commit ca74983

Please sign in to comment.