Disabling the Migrations V2 beta

We're going to remove the migrations V2 beta from SQL Source Control in version 5. We're replacing it with an improved version of the original migration scripts feature, which supports more version control systems and actions.

Download the SQL Source Control 5 beta

Scripts created using the V2 beta of migrations won't be compatible with SQL Source Control 5. To learn more, see Upgrading from old versions of migration scripts.

This page refers to the Migrations V2 beta. For information about how to use V1 migration scripts, see Working with migration scripts.

  1. Go to the SQL Source Control config files folder. By default, this is located at %localappdata%\Red Gate\SQL Source Control 3

  2. Open RedGate_SQLSourceControl_Engine_EngineOptions.xml in a text editor and delete <UseMigrationsV2>True</UseMigrationsV2>.
    It should look like this:

    <EngineOptions version="3" type="EngineOptions">
    </EngineOptions >
  3. In SQL Source Control, in the Setup tab, right-click the Linked to database path and select Edit Comparison Options:

    The Edit Database Compare Options dialog opens:
  4. Find the <UseMigrationsV2> tag and set the value to False.

  5. Restart Management Studio.
  6. Unlink and relink any databases you used with Migrations V2. This means they can be used with Migrations V1 again.

Didn't find what you were looking for?