Liquibase Enterprise was formerly known as Datical DB.
Performing Rollback Operations in the CLI
Run history to see what changesets have been applied to a server (Dev in this case).
hammer history Dev
Run the
rollback
command. The following example rolls back all changes made to Dev in the last deployment.hammer rollback Dev lastDeploy
Run
history
to verify the change.hammer history Dev
See the rollback
command in CLI Commands.
Note
Current methodology calls for the use of only the lastDeploy
option if you are using packager (Deployment Packager).
Older methodologies could use lastlabel
, changeid
, count
, date
, and tag
options. Avoid lastlabel
, changeid
, count
, date
, and tag
if you are using the current methodology (Deployment Packager).
Copyright © Liquibase 2012-2022 - Proprietary and Confidential