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.
25 lines
679 B
25 lines
679 B
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Migration(113)]
|
|
public class music_blacklist : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Alter.Table("Blacklist")
|
|
.AddColumn("ArtistId").AsInt32().WithDefaultValue(0)
|
|
.AddColumn("AlbumIds").AsString().WithDefaultValue("");
|
|
|
|
Delete.Column("SeriesId").FromTable("Blacklist");
|
|
Delete.Column("EpisodeIds").FromTable("Blacklist");
|
|
}
|
|
|
|
}
|
|
}
|