-
Notifications
You must be signed in to change notification settings - Fork 11
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
Rollbacks (for Cassandra) #31
Comments
Would we have a .up.cql as well? That seems pretty straightforward, go for it. |
My thinking was if the file ends in I'll take a shot at it! Thanks for the quick feedback. |
I wanted to let you know that I am using https://github.com/mattes/migrate which can handle cassandra migrations. It's not nearly as lightweight, but it does have rollback already. |
Interesting it looks like they have 2 separate up and down files. I'll keep this in mind when I get a chance to work on this ticket. Thanks! |
I like how light this tool is, and how clean the source is, but I do miss having rollbacks in a migration tool.
I think it would require 2 changes to get them though:
.down.cql
files.rollback --target 20160101-new-table
, which would run all the.down.cql
files after the provided migration. Basically undo all the migrations after the20160101-new-table
.How does this sound? I could write up a PR if it sounds good.
Thanks,
Charles
The text was updated successfully, but these errors were encountered: