This commit is contained in:
tidusjar 2016-02-29 11:44:20 +00:00
commit bee57b46ff
24 changed files with 418 additions and 78 deletions

View file

@ -8,5 +8,7 @@ namespace RequestPlex.Store
public class SettingsModel : Entity
{
public int Port { get; set; }
public bool UserAuthentication { get; set; }
public string PlexAuthToken { get; set; }
}
}

View file

@ -11,7 +11,9 @@ CREATE TABLE IF NOT EXISTS User
CREATE TABLE IF NOT EXISTS Settings
(
Id INTEGER PRIMARY KEY AUTOINCREMENT,
Port INTEGER NOT NULL
Port INTEGER NOT NULL,
UserAuthentication INTEGER NOT NULL,
PlexAuthToken varchar(50)
);
CREATE TABLE IF NOT EXISTS Requested