You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/NzbDrone.Core/Datastore/Migration/010_album_releases_fix.cs

16 lines
456 B

using FluentMigrator;
using NzbDrone.Core.Datastore.Migration.Framework;
namespace NzbDrone.Core.Datastore.Migration
{
[Migration(10)]
public class album_releases_fix : NzbDroneMigrationBase
{
protected override void MainDbUpgrade()
{
Alter.Table("Albums").AlterColumn("Releases").AsString().NotNullable();
Alter.Table("Albums").AlterColumn("CurrentRelease").AsString().NotNullable();
}
}
}