mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
QualityProvider moved to PetaPoco.
This commit is contained in:
parent
9daf1ccfc0
commit
446a939f45
4 changed files with 36 additions and 22 deletions
|
@ -93,7 +93,7 @@ namespace NzbDrone.Core.Datastore.Migrations
|
|||
|
||||
Database.AddTable("History", "SQLite", new[]
|
||||
{
|
||||
new Column("HistoryId", DbType.Int64, ColumnProperty.NotNull),
|
||||
new Column("HistoryId", DbType.Int64, ColumnProperty.PrimaryKey),
|
||||
new Column("EpisodeId", DbType.Int32, ColumnProperty.NotNull),
|
||||
new Column("SeriesId", DbType.Int32, ColumnProperty.NotNull),
|
||||
new Column("NzbTitle", DbType.String, ColumnProperty.NotNull),
|
||||
|
@ -127,6 +127,14 @@ namespace NzbDrone.Core.Datastore.Migrations
|
|||
new Column("LastExecution", DbType.DateTime, ColumnProperty.NotNull),
|
||||
new Column("Success", DbType.Boolean, ColumnProperty.NotNull)
|
||||
});
|
||||
|
||||
Database.AddTable("QualityProfiles", "SQLite", new[]
|
||||
{
|
||||
new Column("QualityProfileId", DbType.Int32, ColumnProperty.PrimaryKey),
|
||||
new Column("Name", DbType.String, ColumnProperty.NotNull),
|
||||
new Column("Cutoff", DbType.Int32, ColumnProperty.NotNull),
|
||||
new Column("SonicAllowed", DbType.String, ColumnProperty.NotNull),
|
||||
});
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue