mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Finished #633 (First part of the queuing)
This commit is contained in:
parent
1c7fb2e93e
commit
2bd7ece9d0
10 changed files with 460 additions and 155 deletions
|
@ -38,5 +38,12 @@ namespace PlexRequests.Store.Models
|
|||
|
||||
public byte[] Content { get; set; }
|
||||
|
||||
public FaultType FaultType { get; set; }
|
||||
}
|
||||
|
||||
public enum FaultType
|
||||
{
|
||||
RequestFault,
|
||||
MissingInformation
|
||||
}
|
||||
}
|
|
@ -138,6 +138,7 @@ CREATE TABLE IF NOT EXISTS RequestQueue
|
|||
Id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
PrimaryIdentifier INTEGER NOT NULL,
|
||||
Type INTEGER NOT NULL,
|
||||
FaultType INTEGER NOT NULL,
|
||||
Content BLOB NOT NULL
|
||||
);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS PlexUsers_Id ON PlexUsers (Id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue