2 -- Table structure for table 'location_types'
5 CREATE TABLE location_types (
6 id INTEGER NOT NULL UNIQUE,
7 description TEXT NOT NULL,
12 -- Data for table 'location_types'
15 INSERT INTO location_types VALUES (0,'');
16 INSERT INTO location_types VALUES (1,'Physical area');
17 INSERT INTO location_types VALUES (2,'Human');
20 -- Table structure for table 'locations'
23 CREATE TABLE locations (
24 id INTEGER NOT NULL UNIQUE,
25 type INTEGER NOT NULL DEFAULT '0',
26 description TEXT NOT NULL,
31 -- Data for table 'locations'
34 INSERT INTO locations VALUES (0,0,'');
37 -- Table structure for table 'categories'
40 CREATE TABLE categories (
41 catid INTEGER NOT NULL UNIQUE,
42 name TEXT NOT NULL DEFAULT '',
47 -- Table structure for table 'files'
51 fileid INTEGER NOT NULL UNIQUE,
52 mediaid INTEGER NOT NULL DEFAULT '0',
53 size INTEGER NOT NULL DEFAULT '0',
54 time INTEGER NOT NULL DEFAULT '0',
55 path TEXT NOT NULL DEFAULT '',
56 name TEXT NOT NULL DEFAULT '',
61 -- Table structure for table 'media'
65 mediaid INTEGER NOT NULL UNIQUE,
66 catid INTEGER NOT NULL DEFAULT '0',
67 type INTEGER NOT NULL DEFAULT '0',
68 added INTEGER NOT NULL DEFAULT '0',
69 info1 INTEGER NOT NULL DEFAULT '0',
70 info2 INTEGER NOT NULL DEFAULT '0',
72 comment TEXT NOT NULL DEFAULT '',
73 location INTEGER NOT NULL DEFAULT '0',
78 -- Table structure for table 'tracks'
82 trackid INTEGER NOT NULL UNIQUE,
83 mediaid INTEGER NOT NULL DEFAULT '0',
84 name TEXT NOT NULL DEFAULT '',
85 length INTEGER NOT NULL DEFAULT '0',