Fix migration running in PostgreSQL

pull/1652/head
Bogdan 1 year ago
parent 4990e537eb
commit 20c085a979

@ -8,7 +8,7 @@ namespace NzbDrone.Core.Datastore.Migration
{
protected override void MainDbUpgrade()
{
Alter.Table("Notifications").AddColumn("OnHealthRestored").AsBoolean().WithDefaultValue(0);
Alter.Table("Notifications").AddColumn("OnHealthRestored").AsBoolean().NotNullable().WithDefaultValue(false);
}
}
}

Loading…
Cancel
Save