Separated migration for LogDB and Application update.

This commit is contained in:
kay.one 2012-01-14 21:47:13 -08:00
commit a48db83be9
99 changed files with 330 additions and 7488 deletions

View file

@ -6,9 +6,9 @@ namespace NzbDrone.Core.Datastore.Migrations
{
[Migration(20111112)]
public class Migration2011112 : Migration
public class Migration2011112 : NzbDroneMigration
{
public override void Up()
protected override void MainDbUpgrade()
{
Database.AddTable("NewznabDefinitions", new[]
{
@ -19,10 +19,5 @@ namespace NzbDrone.Core.Datastore.Migrations
new Column("ApiKey", DbType.String, ColumnProperty.Null)
});
}
public override void Down()
{
throw new NotImplementedException();
}
}
}