diff --git a/src/NzbDrone.Core/Datastore/Migration/004_updated_history.cs b/src/NzbDrone.Core/Datastore/Migration/004_updated_history.cs index 5ebc51ac89..e43924e77b 100644 --- a/src/NzbDrone.Core/Datastore/Migration/004_updated_history.cs +++ b/src/NzbDrone.Core/Datastore/Migration/004_updated_history.cs @@ -17,7 +17,8 @@ protected override void MainDbUpgrade() .WithColumn("SourceTitle").AsString() .WithColumn("Date").AsDateTime() .WithColumn("Quality").AsString() - .WithColumn("Data").AsString(); + .WithColumn("Data").AsString() + .WithColumn("MovieId").AsInt32().WithDefaultValue(0); } } }