From e7d65ee4aee9a5a88d2c76dd528dc8e24fd45827 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sun, 12 Feb 2017 07:08:39 -0500 Subject: [PATCH] Patch/re add ghost migrations (#724) * Remove Wombles and Kickass Data from tables * And that's why you build --- .../Migration/130_remove_wombles_kickass.cs | 15 +++++++++++++++ src/NzbDrone.Core/NzbDrone.Core.csproj | 1 + 2 files changed, 16 insertions(+) create mode 100644 src/NzbDrone.Core/Datastore/Migration/130_remove_wombles_kickass.cs diff --git a/src/NzbDrone.Core/Datastore/Migration/130_remove_wombles_kickass.cs b/src/NzbDrone.Core/Datastore/Migration/130_remove_wombles_kickass.cs new file mode 100644 index 000000000..fb79cff26 --- /dev/null +++ b/src/NzbDrone.Core/Datastore/Migration/130_remove_wombles_kickass.cs @@ -0,0 +1,15 @@ +using FluentMigrator; +using NzbDrone.Core.Datastore.Migration.Framework; + +namespace NzbDrone.Core.Datastore.Migration +{ + [Migration(127)] + public class remove_wombles_kickass : NzbDroneMigrationBase + { + protected override void MainDbUpgrade() + { + Delete.FromTable("Indexers").Row(new { Implementation = "Wombles" }); + Delete.FromTable("Indexers").Row(new { Implementation = "KickassTorrents" }); + } + } +} \ No newline at end of file diff --git a/src/NzbDrone.Core/NzbDrone.Core.csproj b/src/NzbDrone.Core/NzbDrone.Core.csproj index 11d686eea..8f71869eb 100644 --- a/src/NzbDrone.Core/NzbDrone.Core.csproj +++ b/src/NzbDrone.Core/NzbDrone.Core.csproj @@ -126,6 +126,7 @@ +