Fix Index creation on migration 20

pull/1389/head
Qstick 3 years ago committed by GitHub
parent ff27ad2096
commit 399a370e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save