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

Down migrate incrementally #3

Closed
kishorenc opened this issue May 31, 2011 · 2 comments
Closed

Down migrate incrementally #3

kishorenc opened this issue May 31, 2011 · 2 comments

Comments

@kishorenc
Copy link
Contributor

It would be useful to have an option to migrate down or up incrementally, with the ability to specify the migration to go to. For example, say I have 15 migrations, and would need to rollback the last two migrations, I can just say something like:

e.g. migrate down 12-migration-title.js

Right now, migrate down cascades all the way till all down migrations are done.

@tj
Copy link
Owner

tj commented May 31, 2011

agreed. we could allow the filename and/or nth migrations migrate down 2 etc

@dizlexik
Copy link

Yep, huge up-vote for the nth-migration functionality.

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

3 participants