Added absolute episode number to DB

This commit is contained in:
Mark McDowall 2012-10-13 00:07:02 -07:00
commit 070f6bb318
3 changed files with 19 additions and 3 deletions

View file

@ -0,0 +1,17 @@
using System;
using System.Data;
using Migrator.Framework;
using NzbDrone.Common;
namespace NzbDrone.Core.Datastore.Migrations
{
[Migration(20121012)]
public class Migration20121012 : NzbDroneMigration
{
protected override void MainDbUpgrade()
{
Database.AddColumn("Episode", new Column("AbsoluteEpisodeNumber", DbType.Int32, ColumnProperty.Null));
}
}
}