2012-08-03 10:01:34 +03: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 09:33:07 +03:00
|
|
|
Database.AddColumn("EpisodeFiles", new Column("ReleaseGroup", DbType.String, ColumnProperty.Null));
|
|
|
|
Database.AddColumn("History", new Column("ReleaseGroup", DbType.String, ColumnProperty.Null));
|
2012-08-03 10:01:34 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|