Preview deployment script for State-based deployments (a. k. a. dry run script)
Published 07 April 2025
The flyway prepare command allows you to review the deployment script before updating a target database. This is helpful if there's a manual review step as part of your CI/CD pipeline.
Use the schemaModel as your source and a target database to generate a deployment script that captures all the differences and gets the dependency order correct. This uses Redgate's comparison technology for SQL Server, Oracle, PostgreSQL, and MySQL.