ChangeDropTableWarn

Last updated: January 22, 2026

This check warns a user when a table is being dropped so that they can ensure that dropping the table won't lead to unintentional data loss.

Uses

Liquibase version required

4.5.0+

Scope (--checks-scope)

changelog

Default status

enabled

Default severity (exit code)

0 ("INFO")

Customizable settings

No (static)

Use the check to warn when a table is being dropped. A table drop can lead to a schema change which can potentially destroy your organization's most essential resource: critical data. Such an unintended change can result in permanent data loss, production level service outages, and more. This policy check, like other checks, can be configured with a “severity” level which returns an exit code designed to stop automated jobs, giving your team time to inspect these changes.

Before you begin

  1. Ensure that you have correctly specified your Liquibase Secure license key.

  2. Ensure that the --checks-scope parameter includes the scope of this check.

Changelog checks prerequisites

loading

loading

loading

loading

loading

Procedure

1

Enable

This check is enabled by default. To verify that it is currently enabled, run the checks show command:

liquibase checks show --check-name=<string>

2

To run the check, use the checks run command.

loading

loading

Note: For flow files you'll need to run liquibase flow to apply your changes.

Example output

Check 'ChangeDropTableWarn' has been enabled.

Short Name

Scope

Status

Severity

Customization

Description

ChangeDropTableWarn

changelog

enabled

0

None

This check warns a user when a table is being dropped so that they can ensure that dropping the table won't lead to unintentional loss of data.

Liquibase command 'checks enable' was executed successfully.