--check-rollbacks

Last updated: April 30, 2026

Allow changeset rollback code to be analyzed for compliance with currently enabled policy checks. Default: false.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--check-rollbacks=<true|false>

Liquibase properties file (defaults file)

liquibase.command.checks.<subcommand>.checkRollbacks: <string>

Command flow file argument (example)

cmdArgs: { check-rollbacks: "<true|false>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.checks.<subcommand>.checkRollbacks=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_CHECKS_<SUBCOMMAND>_CHECK_ROLLBACKS=<string>