mirror of https://github.com/lidarr/Lidarr
16 lines
483 B
C#
16 lines
483 B
C#
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Migration(9)]
|
|
public class album_releases : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Alter.Table("Albums").AddColumn("Releases").AsString().WithDefaultValue("").Nullable();
|
|
Alter.Table("Albums").AddColumn("CurrentRelease").AsString().WithDefaultValue("").Nullable();
|
|
}
|
|
}
|
|
}
|