Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow load run doctrine::migrations::migrate on a single namespace #1401

Open
VincentLanglet opened this issue Feb 27, 2024 · 0 comments
Open

Comments

@VincentLanglet
Copy link
Contributor

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 #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant