Skip to content

Commit

Permalink
[DX][Database] Configure default migration folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel authored and Zales0123 committed Oct 30, 2020
1 parent 9dc594d commit fd1305c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/packages/doctrine_migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ doctrine_migrations:
storage:
table_storage:
table_name: sylius_migrations
migrations_paths:
'App\Migrations': "%kernel.project_dir%/src/Migrations"
3 changes: 3 additions & 0 deletions config/packages/sylius_labs_doctrine_migrations_extra.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sylius_labs_doctrine_migrations_extra:
migrations:
'App\Migrations': ~
Empty file added src/Migrations/.gitignore
Empty file.

0 comments on commit fd1305c

Please sign in to comment.