mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
#254 Removed the cache, we are now storing the plex information into the database.
There is a big structure change around this, also increased the default check time to be in hours.
This commit is contained in:
parent
af1c93620f
commit
2608e53399
29 changed files with 479 additions and 170 deletions
|
@ -99,4 +99,17 @@ CREATE TABLE IF NOT EXISTS PlexUsers
|
|||
PlexUserId INTEGER NOT NULL,
|
||||
UserAlias varchar(100) NOT NULL
|
||||
);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS PlexUsers_Id ON RequestLimit (Id);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS PlexUsers_Id ON PlexUsers (Id);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS PlexEpisodes
|
||||
(
|
||||
Id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
EpisodeTitle VARCHAR(100) NOT NULL,
|
||||
ShowTitle VARCHAR(100) NOT NULL,
|
||||
RatingKey VARCHAR(100) NOT NULL,
|
||||
ProviderId VARCHAR(100) NOT NULL,
|
||||
SeasonNumber INTEGER NOT NULL,
|
||||
EpisodeNumber INTEGER NOT NULL
|
||||
);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS PlexEpisodes_Id ON PlexEpisodes (Id);
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS PlexEpisodes_ProviderId ON PlexEpisodes (ProviderId);
|
Loading…
Add table
Add a link
Reference in a new issue