Skip to content

Commit

Permalink
minor #12120 Fix doctrine migrations config in UPGRADE-1.8.md (mmenozzi)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.8 branch.

Discussion
----------

The `doctrine:migrations:migrate` command will fail if not executed from the project root. This is the case when using Deployer. The `%kernel.project_dir%` parameter will fix that.

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | none
| License         | MIT

Commits
-------

1cc7bd5 Fix doctrine migrations config in UPGRADE-1.8.md
  • Loading branch information
Zales0123 authored Dec 4, 2020
2 parents 8e263cc + 1cc7bd5 commit b59f89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADE-1.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ As we switched to the `3.0` version of Doctrine Migrations, there are some thing
+ table_storage:
+ table_name: sylius_migrations
+ migrations_paths:
+ 'DoctrineMigrations': 'src/Migrations'
+ 'DoctrineMigrations': '%kernel.project_dir%/src/Migrations'
```
1. Remove all the legacy Sylius-Standard migrations (they're not needed anymore)
Expand Down

0 comments on commit b59f89d

Please sign in to comment.