Redgate Flyway

Tutorial - Run code analysis on migrations

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

  1. Navigate to the Migration scripts page
  2. Connect to your target environment, by selecting the relevant connection from the Target database dropdown.
  3. Select Check from the command dropdown in the right hand pane
  4. Check the code flag under the command dropdown
  5. Click Run check



Didn't find what you were looking for?