mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Removed NzbMatrix
New: Removed NzbMatrix
This commit is contained in:
18
NzbDrone.Core/Datastore/Migrations/Migration20121209.cs
Normal file
18
NzbDrone.Core/Datastore/Migrations/Migration20121209.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Migrator.Framework;
|
||||
using NzbDrone.Common;
|
||||
|
||||
namespace NzbDrone.Core.Datastore.Migrations
|
||||
{
|
||||
[Migration(20121209)]
|
||||
public class Migration20121209 : NzbDroneMigration
|
||||
{
|
||||
protected override void MainDbUpgrade()
|
||||
{
|
||||
Database.ExecuteNonQuery("DELETE FROM Config WHERE [KEY] = 'NzbMatrixUsername'");
|
||||
Database.ExecuteNonQuery("DELETE FROM Config WHERE [KEY] = 'NzbMatrixApiKey'");
|
||||
Database.ExecuteNonQuery("DELETE FROM IndexerDefinitions WHERE IndexProviderType = 'NzbDrone.Core.Providers.Indexer.NzbMatrix'");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user