Tutorial - Run code analysis on migrations
Published 16 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 and build environment, here with id production and id build respectively, are defined in your toml configuration run the following
flyway check -code
Related command reference
- Navigate to the Migration scripts page
- Connect to your target environment, by selecting the relevant connection from the Target database dropdown.
- Select Check from the command dropdown in the right hand pane
- Check the code flag under the command dropdown
- Click Run check