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


This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?