Redgate Flyway

Tutorial - Disable a migration so it is never run

  1. In the Migrations view, add/edit the custom rule and enter 'false' in the Rule expression box

  1. Create a script configuration file next to your migration script, matching this naming pattern: <migration>.sql.conf
  2. Set the shouldExecute parameter to false in this file
    shouldExecute=false



Didn't find what you were looking for?