mirror of https://github.com/Radarr/Radarr
16 lines
434 B
C#
16 lines
434 B
C#
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Migration(2)]
|
|
public class remove_tvrage_imdb_unique_constraint : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Delete.Index().OnTable("Series").OnColumn("TvRageId");
|
|
Delete.Index().OnTable("Series").OnColumn("ImdbId");
|
|
}
|
|
}
|
|
}
|