System: |
|
Fields
idSource |
integer |
|
|
|
|
|
|
|
strName |
text |
|
|
|
|
|
|
|
strPath |
text |
|
|
|
|
|
|
|
strLastScan |
text |
|
|
|
'1900/01/01' |
|
|
|
strLanguage |
text |
|
|
|
'en-US' |
|
|
|
iOrdering |
integer |
|
|
|
0 |
|
|
|
bExclude |
bool |
|
|
|
0 |
|
|
|
iEpisodeSorting |
integer |
|
|
|
0 |
|
|
|
bSingle |
bool |
|
|
|
0 |
|
|
|
Indexes
Foreign keys
There are no foreign keys for table "tvshowsource"
Checks
There are no checks for table "tvshowsource"
Triggers
References
There are no references for table "tvshowsource"
Definition:
CREATE TABLE tvshowsource (
idSource integer PRIMARY KEY AUTOINCREMENT,
strName text NOT NULL,
strPath text NOT NULL,
strLastScan text NOT NULL DEFAULT '1900/01/01',
strLanguage text NOT NULL DEFAULT 'en-US',
iOrdering integer NOT NULL DEFAULT 0,
bExclude bool NOT NULL DEFAULT 0,
iEpisodeSorting integer NOT NULL DEFAULT 0,
bSingle bool NOT NULL DEFAULT 0
);
CREATE UNIQUE INDEX UniqueTVShowSourcePath
ON tvshowsource
(strPath);
CREATE TRIGGER delete_tvshowsource
AFTER DELETE
ON tvshowsource
BEGIN
DELETE FROM tvshow WHERE idSource=old.idSource;
END;