Looking for a top level `rollback` function like `Triplex.migrate/2`
I'm adding a in-code Release module so I can perform migrations (and rollbacks) from the complied binary. I see that there is an in-code Triplex.migrate/2 function but I could not find a similar function for rollback behavior. Am I missing this? Interested in a patch?
Thanks for your help, here and with the project in general.
I'd like this feature as well. It seems like a simple solution could be to change the migration direction in the call to Migrator.run. Currently, Triplex.migrate/2, the direction is :up so a call to Triplex.rollback/2 could be just the same, but :down.
Alrighty, a PR is welcome 🙂
@kelvinst Interested still interested in a PR? @zenbaku Any progress?
Hey @haizop, sure! Totally welcome