Skip to content

Comment on Managing database schema changes without downtimeparent

Comments

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.