Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Especially rollbacks are useful for development

I abuse Liquibase to generate sql for me by diffing a reference db to create the changeset.

Will a rollback not be comparing your new schema against your old schema and then apply that changeset? Take into account this might/will drop data.

But looking at flywaydb undo docs[0] I don't see it address anything more then the schema?

[0]: https://flywaydb.org/documentation/command/undo

edit: for those interested I recently moved my shell script solution to python[1].

[1]: https://github.com/Morabaraba/python-liquibase



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: