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
627 B
22 lines
627 B
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Tags("")]
|
|
[Migration(3)]
|
|
public class remove_renamed_scene_mapping_columns : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Delete.Table("SceneMappings");
|
|
|
|
Create.TableForModel("SceneMappings")
|
|
.WithColumn("TvdbId").AsInt32()
|
|
.WithColumn("SeasonNumber").AsInt32()
|
|
.WithColumn("SearchTerm").AsString()
|
|
.WithColumn("ParseTerm").AsString();
|
|
}
|
|
}
|
|
}
|