2012-08-03 07:01:34 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using Migrator.Framework;
|
|
|
|
|
using NzbDrone.Common;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Datastore.Migrations
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Migration(20120802)]
|
|
|
|
|
public class Migration20120802 : NzbDroneMigration
|
|
|
|
|
{
|
|
|
|
|
protected override void MainDbUpgrade()
|
|
|
|
|
{
|
|
|
|
|
Database.AddColumn("EpisodeFiles", new Column("SceneName", DbType.String, ColumnProperty.Null));
|
2012-08-06 06:33:07 +00:00
|
|
|
|
Database.AddColumn("EpisodeFiles", new Column("ReleaseGroup", DbType.String, ColumnProperty.Null));
|
|
|
|
|
Database.AddColumn("History", new Column("ReleaseGroup", DbType.String, ColumnProperty.Null));
|
2012-08-03 07:01:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|