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

How to reverse a migration #14

Open
ShailyAggarwalK opened this issue Feb 22, 2017 · 2 comments
Open

How to reverse a migration #14

ShailyAggarwalK opened this issue Feb 22, 2017 · 2 comments

Comments

@ShailyAggarwalK
Copy link

Please clarify how to reverse a migration or execute the down statements of migration file using sbt pillar plugin.

@el-dom
Copy link
Contributor

el-dom commented Oct 9, 2017

Simply put: You cannot.
Pillar requires a dateRestriction to determine what shall be applied und what shall be reversed
https://github.com/comeara/pillar/blob/master/src/main/scala/com/chrisomeara/pillar/CassandraMigrator.scala#L9
and this plugin does not pass a date for that.

@magro
Copy link
Member

magro commented Nov 2, 2017

Of course we could add that if needed.

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