2022-09-26 19:20:20 +00:00
|
|
|
using FluentMigrator;
|
|
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
|
|
{
|
|
|
|
[Migration(059)]
|
|
|
|
public class add_indexer_tags : NzbDroneMigrationBase
|
|
|
|
{
|
|
|
|
protected override void MainDbUpgrade()
|
|
|
|
{
|
2022-01-26 00:08:27 +00:00
|
|
|
Delete.FromTable("Indexers").Row(new { Implementation = "Omgwtfnzbs" });
|
|
|
|
Delete.FromTable("Indexers").Row(new { Implementation = "Waffles" });
|
2022-09-26 19:20:20 +00:00
|
|
|
|
|
|
|
Alter.Table("Indexers").AddColumn("Tags").AsString().Nullable();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|