System: |
|
Fields
idSet |
integer |
|
|
|
|
|
|
|
NfoPath |
text |
|
|
|
|
|
|
|
TMDBColID |
text |
|
|
|
|
|
|
|
Plot |
text |
|
|
|
|
|
|
|
Title |
text |
|
|
|
|
|
|
|
New |
bool |
|
|
|
0 |
|
|
|
Mark |
bool |
|
|
|
0 |
|
|
|
Lock |
bool |
|
|
|
0 |
|
|
|
SortMethod |
integer |
|
|
|
0 |
|
|
|
Language |
text |
|
|
|
|
|
|
|
Indexes
There are no indexes for table "sets"
Foreign keys
There are no foreign keys for table "sets"
Checks
There are no checks for table "sets"
Triggers
References
There are no references for table "sets"
Definition:
CREATE TABLE sets (
idSet integer PRIMARY KEY AUTOINCREMENT,
NfoPath text,
TMDBColID text,
Plot text,
Title text,
"New" bool NOT NULL DEFAULT 0,
Mark bool NOT NULL DEFAULT 0,
Lock bool NOT NULL DEFAULT 0,
SortMethod integer NOT NULL DEFAULT 0,
Language text
);
CREATE TRIGGER delete_set
AFTER DELETE
ON sets
BEGIN
DELETE FROM art WHERE media_id=old.idSet AND media_type='set';
DELETE FROM uniqueid WHERE media_id=old.idSet AND media_type='set';
END;