IndexerProvider now uses PetaPoco.

This commit is contained in:
Mark McDowall 2011-06-17 17:10:33 -07:00
commit 01944acbb1
4 changed files with 21 additions and 12 deletions

View file

@ -142,6 +142,14 @@ namespace NzbDrone.Core.Datastore.Migrations
new Column("Cutoff", DbType.Int32, ColumnProperty.NotNull),
new Column("SonicAllowed", DbType.String, ColumnProperty.NotNull),
});
Database.AddTable("IndexerSettings", "SQLite", new[]
{
new Column("Id", DbType.Int32, ColumnProperty.PrimaryKey),
new Column("Enable", DbType.Boolean, ColumnProperty.NotNull),
new Column("IndexProviderType", DbType.String, ColumnProperty.NotNull),
new Column("Name", DbType.String, ColumnProperty.NotNull),
});
}
public override void Down()