From ec0ef5d46d030b4295c356b3ba6de7746da20299 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 17 Jun 2011 17:00:38 -0700 Subject: [PATCH] SceneMappings added to Migrations... again. --- NzbDrone.Core/Datastore/Migrations/Migration.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NzbDrone.Core/Datastore/Migrations/Migration.cs b/NzbDrone.Core/Datastore/Migrations/Migration.cs index a09611225..180de687f 100644 --- a/NzbDrone.Core/Datastore/Migrations/Migration.cs +++ b/NzbDrone.Core/Datastore/Migrations/Migration.cs @@ -91,6 +91,13 @@ namespace NzbDrone.Core.Datastore.Migrations new Column("Value", DbType.String, ColumnProperty.NotNull) }); + Database.AddTable("SceneMappings", "SQLite", new[] + { + new Column("CleanTitle", DbType.String, ColumnProperty.PrimaryKey), + new Column("SeriesId", DbType.Int32, ColumnProperty.NotNull), + new Column("SceneName", DbType.String, ColumnProperty.NotNull) + }); + Database.AddTable("History", "SQLite", new[] { new Column("HistoryId", DbType.Int64, ColumnProperty.PrimaryKey),