SceneMappings added to Migrations... again.

This commit is contained in:
Mark McDowall 2011-06-17 17:00:38 -07:00
parent 335639fabc
commit ec0ef5d46d
1 changed files with 7 additions and 0 deletions

View File

@ -91,6 +91,13 @@ namespace NzbDrone.Core.Datastore.Migrations
new Column("Value", DbType.String, ColumnProperty.NotNull) 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[] Database.AddTable("History", "SQLite", new[]
{ {
new Column("HistoryId", DbType.Int64, ColumnProperty.PrimaryKey), new Column("HistoryId", DbType.Int64, ColumnProperty.PrimaryKey),