You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.2 KiB
50 lines
1.2 KiB
7 years ago
|
CREATE TABLE `table_shows` (
|
||
|
`tvdbId` INTEGER NOT NULL PRIMARY KEY UNIQUE,
|
||
|
`title` TEXT NOT NULL,
|
||
|
`path` TEXT NOT NULL UNIQUE,
|
||
|
`languages` TEXT,
|
||
|
`hearing_impaired` TEXT
|
||
|
);
|
||
|
CREATE TABLE `table_settings_subliminal` (
|
||
|
`age` TEXT,
|
||
|
`max-workers` INTEGER
|
||
|
);
|
||
|
CREATE TABLE `table_settings_providers` (
|
||
|
`name` TEXT NOT NULL UNIQUE,
|
||
|
`username` TEXT,
|
||
|
`password` TEXT,
|
||
|
`enabled` INTEGER,
|
||
|
PRIMARY KEY(`name`)
|
||
|
);
|
||
|
CREATE TABLE `table_settings_languages` (
|
||
|
`code` TEXT NOT NULL UNIQUE,
|
||
|
`name` TEXT NOT NULL,
|
||
|
`enabled` INTEGER,
|
||
|
PRIMARY KEY(`code`)
|
||
|
);
|
||
|
CREATE TABLE `table_settings_general` (
|
||
|
`ip` TEXT NOT NULL,
|
||
|
`port` INTEGER NOT NULL,
|
||
|
`base_url` TEXT,
|
||
|
`ssl` INTEGER
|
||
|
);
|
||
|
INSERT INTO `table_settings_general` (ip,port,base_url,ssl) VALUES ('0.0.0.0',6767,NULL,NULL);
|
||
|
CREATE TABLE `table_settings_connect` (
|
||
|
`ip` TEXT NOT NULL,
|
||
|
`port` INTEGER NOT NULL,
|
||
|
`base_url` TEXT,
|
||
|
`ssl` INTEGER,
|
||
|
`apikey` TEXT NOT NULL
|
||
|
);
|
||
|
CREATE TABLE `table_scheduler` (
|
||
|
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
|
||
|
`name` TEXT NOT NULL,
|
||
|
`frequency` TEXT NOT NULL
|
||
|
);
|
||
|
CREATE TABLE `table_history` (
|
||
|
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
|
||
|
`timestamp` TEXT NOT NULL,
|
||
|
`file` TEXT NOT NULL,
|
||
|
`provider` TEXT NOT NULL
|
||
|
);
|