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.
16 lines
433 B
16 lines
433 B
using FluentMigrator;
|
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration
|
|
{
|
|
[Migration(94)]
|
|
public class add_tvmazeid : NzbDroneMigrationBase
|
|
{
|
|
protected override void MainDbUpgrade()
|
|
{
|
|
Alter.Table("Series").AddColumn("TvMazeId").AsInt32().WithDefaultValue(0);
|
|
Create.Index().OnTable("Series").OnColumn("TvMazeId");
|
|
}
|
|
}
|
|
}
|