Document profiler overhead (#471)

This commit is contained in:
Antoine Makdessi
2022-03-14 12:04:15 +01:00
committed by GitHub
parent 019b0fb9e5
commit 9432bc37ab
3 changed files with 5 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class Configuration implements ConfigurationInterface
->end()
->end()
->booleanNode('enable_profiler')
->info('Use profiler to calculate and visualize migration status.')
->info('Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.')
->defaultFalse()
->end()
->booleanNode('transactional')

View File

@@ -1,7 +1,7 @@
DoctrineMigrationsBundle
========================
This bundle integrates the [Doctrine2 Migrations library](http://www.doctrine-project.org/projects/migrations.html)
This bundle integrates the [Doctrine Migrations library](http://www.doctrine-project.org/projects/migrations.html)
into Symfony applications. Database migrations help you version the changes in
your database schema and apply them in a predictable way on every server running
the application.

View File

@@ -83,6 +83,9 @@ application:
# Whether or not to wrap migrations in a single transaction.
transactional: true
# Whether or not to enable the profiler collector to calculate and visualize migration status. This adds some queries overhead.
# enable_profiler: false
services:
# Custom migration sorting service id
'Doctrine\Migrations\Version\Comparator': ~