• Task
  • Version ยท 6.0.2
  • Create

Decorate paired Up and Down migration scripts

Last updated: November 17, 2026

Before you begin

Procedure

1

Export the Up and Down scripts

2

Choose how the changeset runs

3

Run decorate-sql with --rollback-file

loading
4

Check the rollback in the changelog

-- rollbackSqlFile path:Migrations/20260630153331_InitialCreate.Down.sql
5

Deploy the changelog

liquibase update --changelog-file=changelog.mssql.sql