1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-21 23:32:27 +00:00

Fixed: AlbumReleases ReleaseDate should be nullable

This commit is contained in:
Qstick 2022-11-20 15:04:39 -06:00
parent 48d7a227f3
commit e7481fa045

View file

@ -10,7 +10,7 @@ public class postgres_update_timestamp_columns_to_with_timezone : NzbDroneMigrat
{
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("ReleaseDate").AsDateTimeOffset().Nullable();
Alter.Table("Albums").AlterColumn("Added").AsDateTimeOffset().Nullable();