enable new profiler of doctrine migrations bundle by default in development

This commit is contained in:
Christopher Hertel
2021-04-05 16:14:13 +02:00
parent df0486daba
commit eaec14546a
3 changed files with 16 additions and 0 deletions
@@ -0,0 +1,6 @@
doctrine_migrations:
migrations_paths:
# namespace is arbitrary but should be different from App\Migrations
# as migrations classes should NOT be autoloaded
'DoctrineMigrations': '%kernel.project_dir%/migrations'
enable_profiler: '%kernel.debug%'
@@ -0,0 +1,10 @@
{
"bundles": {
"Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"migrations/": "migrations/"
},
"aliases": ["doctrine-migrations", "migrations"]
}