diff --git a/src/NzbDrone.Core/Datastore/Migration/061_postgres_update_timestamp_columns_to_with_timezone.cs b/src/NzbDrone.Core/Datastore/Migration/061_postgres_update_timestamp_columns_to_with_timezone.cs index 8dceff17e..c6567345c 100644 --- a/src/NzbDrone.Core/Datastore/Migration/061_postgres_update_timestamp_columns_to_with_timezone.cs +++ b/src/NzbDrone.Core/Datastore/Migration/061_postgres_update_timestamp_columns_to_with_timezone.cs @@ -8,6 +8,8 @@ namespace NzbDrone.Core.Datastore.Migration { protected override void MainDbUpgrade() { + Delete.FromTable("Commands").AllRows(); + Alter.Table("AlbumReleases").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable(); Alter.Table("Albums").AlterColumn("LastInfoSync").AsDateTimeOffset().Nullable(); Alter.Table("Albums").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable();