From 399a370e7ad2357ce73905bdd1612808c3f985b3 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 25 Dec 2021 15:20:58 -0600 Subject: [PATCH] Fix Index creation on migration 20 --- .../Datastore/Migration/020_add_download_history.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Datastore/Migration/020_add_download_history.cs b/src/NzbDrone.Core/Datastore/Migration/020_add_download_history.cs index e6a422585..aa972e41d 100644 --- a/src/NzbDrone.Core/Datastore/Migration/020_add_download_history.cs +++ b/src/NzbDrone.Core/Datastore/Migration/020_add_download_history.cs @@ -25,7 +25,7 @@ namespace NzbDrone.Core.Datastore.Migration .WithColumn("Data").AsString().Nullable(); Create.Index().OnTable("DownloadHistory").OnColumn("EventType"); - Create.Index().OnTable("DownloadHistory").OnColumn("SeriesId"); + Create.Index().OnTable("DownloadHistory").OnColumn("AuthorId"); Create.Index().OnTable("DownloadHistory").OnColumn("DownloadId"); Execute.WithConnection(InitialImportedDownloadHistory);