RootDirs moved to PetaPoco. Removed SubSonic references from EpisodeFile & SceneMapping.

This commit is contained in:
Mark McDowall 2011-06-17 08:27:18 -07:00
commit f7ee16dbba
6 changed files with 31 additions and 31 deletions

View file

@ -91,7 +91,7 @@ namespace NzbDrone.Core.Datastore.Migrations
new Column("Value", DbType.String, ColumnProperty.NotNull),
});
Database.AddTable("EpisodeFiles", "SQLite", new[]
Database.AddTable("History", "SQLite", new[]
{
new Column("HistoryId", DbType.Int64, ColumnProperty.NotNull),
new Column("EpisodeId", DbType.Int32, ColumnProperty.NotNull),
@ -102,6 +102,12 @@ namespace NzbDrone.Core.Datastore.Migrations
new Column("IsProper", DbType.Boolean, ColumnProperty.NotNull),
new Column("Indexer", DbType.String, ColumnProperty.NotNull)
});
Database.AddTable("RootDirs", "SQLite", new[]
{
new Column("Id", DbType.Int32, ColumnProperty.PrimaryKey),
new Column("Path", DbType.String, ColumnProperty.NotNull),
});
}
public override void Down()