Fixed: AlbumReleases ReleaseDate should be nullable

pull/3106/head
Qstick 2 years ago
parent 48d7a227f3
commit e7481fa045

@ -10,7 +10,7 @@ namespace NzbDrone.Core.Datastore.Migration
{ {
protected override void MainDbUpgrade() protected override void MainDbUpgrade()
{ {
Alter.Table("AlbumReleases").AlterColumn("ReleaseDate").AsDateTimeOffset().NotNullable(); Alter.Table("AlbumReleases").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable();
Alter.Table("Albums").AlterColumn("LastInfoSync").AsDateTimeOffset().Nullable(); Alter.Table("Albums").AlterColumn("LastInfoSync").AsDateTimeOffset().Nullable();
Alter.Table("Albums").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable(); Alter.Table("Albums").AlterColumn("ReleaseDate").AsDateTimeOffset().Nullable();
Alter.Table("Albums").AlterColumn("Added").AsDateTimeOffset().Nullable(); Alter.Table("Albums").AlterColumn("Added").AsDateTimeOffset().Nullable();

Loading…
Cancel
Save