mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-20 00:11:46 +02:00
17 lines
433 B
C#
17 lines
433 B
C#
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Tags("")]
|
|
[Migration(2)]
|
|
public class remove_tvrage_imdb_unique_constraint : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Execute.Sql("DROP INDEX IX_Series_TvRageId;");
|
|
Execute.Sql("DROP INDEX IX_Series_ImdbId;");
|
|
}
|
|
}
|
|
}
|