1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02:00

SceneMappings added to Migrations... again.

This commit is contained in:
Mark McDowall 2011-06-17 17:00:38 -07:00
parent 335639fabc
commit ec0ef5d46d

View File

@ -91,6 +91,13 @@ public override void Up()
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),