/
Associating Rollback Scripts with SQL Scripts
Liquibase Enterprise was formerly known as Datical DB.
Associating Rollback Scripts with SQL Scripts
A best practice is to write a rollback script that undoes all changes made by the original script.
Rollback scripts are included automatically in packaging if they follow a specified naming convention.
To from the rollback script name, append -rollback (with a dash) OR _rollback
(with an underscore) to the script name.
Example script name:
AddMiddleNameColumnToAccountTable.sql
Rollback script name:
AddMiddleNameColumnToAccountTable-rollback.sql
or
AddMiddleNameColumnToAccountTable_rollback.sql
, multiple selections available,
Related content
Rollback Script Handling
Rollback Script Handling
More like this
Rollback File Validation During Packaging
Rollback File Validation During Packaging
More like this
Rolling Back Changes
Rolling Back Changes
More like this
Precise Rollback
Precise Rollback
Read with this
Cleaning Up Deployed Changesets: cleanup
Cleaning Up Deployed Changesets: cleanup
More like this
Performing Rollback Operations in the CLI
Performing Rollback Operations in the CLI
Read with this
Copyright © Liquibase 2012-2022 - Proprietary and Confidential