Fixed: Remove MediaBrowser metadata and pushalot

This commit is contained in:
Qstick
2018-09-01 23:37:55 -04:00
parent 813f81b3c9
commit 2a992f6c2b
9 changed files with 17 additions and 371 deletions
@@ -0,0 +1,16 @@
using FluentMigrator;
using NzbDrone.Core.Datastore.Migration.Framework;
namespace NzbDrone.Core.Datastore.Migration
{
[Migration(20)]
public class remove_pushalot : NzbDroneMigrationBase
{
protected override void MainDbUpgrade()
{
Delete.FromTable("Notifications").Row(new { Implementation = "Pushalot" });
Delete.FromTable("Metadata").Row(new { Implementation = "MediaBrowserMetadata" });
Delete.FromTable("MetadataFiles").Row(new { Consumer = "MediaBrowserMetadata" });
}
}
}