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.
22 lines
612 B
22 lines
612 B
using System;
|
|
using System.Data;
|
|
using FluentMigrator;
|
|
using NzbDrone.Common.Disk;
|
|
using NzbDrone.Common.Extensions;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Migration(150)]
|
|
public class add_scene_mapping_origin : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Alter.Table("SceneMappings")
|
|
.AddColumn("SceneOrigin").AsString().Nullable()
|
|
.AddColumn("SearchMode").AsInt32().Nullable()
|
|
.AddColumn("Comment").AsString().Nullable();
|
|
}
|
|
}
|
|
}
|