-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add migrate:down functionality #3228
Add migrate:down functionality #3228
Conversation
Thanks! |
@leeallen337 Do you use Node 8+? Next major release 0.18 is going to drop Node 6 support, so if you need it on an older node, would make sense to merge this PR to branch 0.17. |
@kibertoad I do use Node 8+. Maybe it should get merged into 0.17? I saw that I went ahead and created a pull request for it since I'm about to leave for work and won't be available until later |
This pull request attemps to add a new feature requested in #666 and briefly in #352
The feature is adding a
migrate:down
functionality which would rollback only the last run migration to the Migrator API and the CLIDocumentation PR: knex/documentation#197