Created endpoint for authenticating with plex and linking your plex user to the logged in seasoned user. User database table gets a new plex_userid column. This will be used to fetch tautulli stats for your account.

This commit is contained in:
2019-11-04 00:43:42 +01:00
parent f8cc19b510
commit 05b001de2e
4 changed files with 153 additions and 55 deletions

View File

@@ -1,8 +1,9 @@
CREATE TABLE IF NOT EXISTS user (
user_name varchar(127) UNIQUE,
password varchar(127),
email varchar(127) UNIQUE,
admin boolean DEFAULT 0,
email varchar(127) UNIQUE,
plex_userid varchar(127) DEFAULT NULL,
primary key (user_name)
);