Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Liquibase recommends using the standard rollback functionality which “rewinds” a database to a specified point. All changesets deployed after that point are rolled back. These rollbacks are documented here:

...

However, there is a newly supported command hammer <dbdef> precise command which allows the user to selectively rollback specific changesets. With this command Liquibase cannot guarantee that database dependencies will not be impacted by the rollback. It is up to the user to ensure that precise rollbacks include all the necessary database dependencies.

...

To use multiple labels use: (did open DAT-10546 to handle AND within the same searchLabels entry.)

hammer rollback DEV precise --searchLabels="rules_test_005.sql" --searchLabels="dev"

...