migrations
migrations copied to clipboard
Allow load run `doctrine::migrations::migrate` on a single namespace
Feature Request
Q | A |
---|---|
New Feature | yes |
RFC | yes |
BC Break | no |
Summary
I didn't found out the feature so far, maybe I missed it. In the same way, it's possible to run
bin/console do:mi:diff --namespace=before
bin/console do:mi:diff --namespace=after
I'd like to be able to run
bin/console do:mi:mi --namespace=before
bin/console do:mi:mi --namespace=after
so only running migrations from a specific namespace.
The option existe on execute and on diff, but not on migrate.
For the context I'd like to run specific migrations Before the production and some migrations After the deployement.
I found some issues related to namespace like https://github.com/doctrine/migrations/issues/1074 and the @goetas article (https://www.goetas.com/blog/multi-namespace-migrations-with-doctrinemigrations-30/) but it doesn't seems to answer to this issue.