Replace UC preset with VC

(cherry picked from commit eca3776ddd4b12020833967ad9d98daa0117caff)
This commit is contained in:
Bogdan 2023-05-09 01:13:13 +03:00
parent 38ae17a99f
commit 4a5a986220
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,14 @@
using FluentMigrator;
using NzbDrone.Core.Datastore.Migration.Framework;
namespace NzbDrone.Core.Datastore.Migration
{
[Migration(033)]
public class remove_uc : NzbDroneMigrationBase
{
protected override void MainDbUpgrade()
{
Delete.FromTable("Indexers").Row(new { Implementation = "Usenet Crawler" });
}
}
}

View file

@ -111,7 +111,7 @@ public override IEnumerable<ProviderDefinition> DefaultDefinitions
yield return GetDefinition("SimplyNZBs", GetSettings("https://simplynzbs.com"));
yield return GetDefinition("SpotNZB", GetSettings("https://spotnzb.xyz"));
yield return GetDefinition("Tabula Rasa", GetSettings("https://www.tabula-rasa.pw", apiPath: @"/api/v1/api"));
yield return GetDefinition("Usenet Crawler", GetSettings("https://www.usenet-crawler.com"));
yield return GetDefinition("VeryCouch LazyMuch", GetSettings("https://api.verycouch.com"));
yield return GetDefinition("Generic Newznab", GetSettings(""));
}
}