Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
Update config example to match the flex recipe, since the included example ("App\Migrations") went directly against it.
  • Loading branch information
yivi authored Jan 3, 2024
1 parent f7a8d12 commit 30cdb63
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ application:
# config/packages/doctrine_migrations.yaml
doctrine_migrations:
# List of namespace/path pairs to search for migrations, at least one required
migrations_paths:
'App\Migrations': '%kernel.project_dir%/src/App'
'AnotherApp\Migrations': '/path/to/other/migrations'
'SomeBundle\Migrations': '@SomeBundle/Migrations'
# namespace is arbitrary but should be different from App\Migrations
# as migrations classes should NOT be autoloaded
'DoctrineMigrations': '%kernel.project_dir%/migrations'
# List of additional migration classes to be loaded, optional
migrations:
Expand Down

0 comments on commit 30cdb63

Please sign in to comment.