• Task
  • Version · 5.2.2
  • User guide

How to use diff in multiple schemas in Liquibase

Last updated: August 7, 2026

Procedure

1

Run the snapshot command to capture the state of the database containing different schemas:

2

Manually make some changes to the target database on the different schemas.

3

Run the diff command specifying the snapshot (an offline mode) and the database with new changes:

4

Run the diff-changelog command specifying the snapshot (an offline mode) and the database with new changes:

5

Check the changes manually or by running automation tests, and then deploy them to the production.

Best practices