Generate a changelog with diff-types

Last updated: July 14, 2025

Decide which data types you want to include. You can specify these with the --diff-types parameter.

2

Open your CLI and run the following command.

liquibase generate-changelog --changelog-file=example-changelog.xml --diff-types=catalogs,checkconstraints,columns,databasepackage,databasepackagebody,foreignkeys,functions,indexes,primarykeys,sequences,storedprocedures,tables,triggers,uniqueconstraints,views
Generate a changelog with diff-types - Liquibase