Tutorial - Generate a deployment changes report from schema model
Published 15 September 2025
Pre-requisites
- Ensure that Flyway is installed and available on your path
- Ensure that Flyway is authenticated to use enterprise features
- Ensure that any secrets necessary for database connection auth are avaialbale
Commands to run
If your target environment, here with id production, is defined in your toml configuration run the following
flyway check -changes -changesSource=schemaModel -environment=production
If you instead want to pass in the target connection information inline, instead run the following
flyway check -changes -changesSource=schemaModel "-url=<JDBC URL>"
Related command reference
This functionality is not currently available through Flyway Desktop, although you can get similar information, by connecting a target environment on the Deploy page and viewing the differences.