2 -- Created by SQL::Translator::Producer::SQLite
3 -- Created on Fri Mar 24 07:13:26 2006
10 CREATE TABLE serialized (
11 id INTEGER PRIMARY KEY NOT NULL,
12 serialized text NOT NULL
16 -- Table: employees_adjacencylist
18 CREATE TABLE employees_adjacencylist (
19 employee_id INTEGER PRIMARY KEY NOT NULL,
20 parent_id integer NOT NULL,
28 CREATE TABLE liner_notes (
29 liner_id INTEGER PRIMARY KEY NOT NULL,
30 notes varchar(100) NOT NULL
34 -- Table: cd_to_producer
36 CREATE TABLE cd_to_producer (
38 producer integer NOT NULL,
39 PRIMARY KEY (cd, producer)
46 artistid INTEGER PRIMARY KEY NOT NULL,
51 -- Table: self_ref_alias
53 CREATE TABLE self_ref_alias (
54 self_ref integer NOT NULL,
55 alias integer NOT NULL,
56 PRIMARY KEY (self_ref, alias)
63 cdid INTEGER PRIMARY KEY NOT NULL,
64 artist integer NOT NULL,
65 title varchar(100) NOT NULL,
66 year varchar(100) NOT NULL
73 trackid INTEGER PRIMARY KEY NOT NULL,
75 position integer NOT NULL,
76 title varchar(100) NOT NULL
82 CREATE TABLE self_ref (
83 id INTEGER PRIMARY KEY NOT NULL,
84 name varchar(100) NOT NULL
91 tagid INTEGER PRIMARY KEY NOT NULL,
93 tag varchar(100) NOT NULL
99 CREATE TABLE treelike (
100 id INTEGER PRIMARY KEY NOT NULL,
101 parent integer NOT NULL,
102 name varchar(100) NOT NULL
108 CREATE TABLE twokeys (
109 artist integer NOT NULL,
111 PRIMARY KEY (artist, cd)
115 -- Table: employees_positional
117 CREATE TABLE employees_positional (
118 employee_id INTEGER PRIMARY KEY NOT NULL,
119 position integer NOT NULL,
127 CREATE TABLE fourkeys (
128 foo integer NOT NULL,
129 bar integer NOT NULL,
130 hello integer NOT NULL,
131 goodbye integer NOT NULL,
132 PRIMARY KEY (foo, bar, hello, goodbye)
136 -- Table: artist_undirected_map
138 CREATE TABLE artist_undirected_map (
139 id1 integer NOT NULL,
140 id2 integer NOT NULL,
141 PRIMARY KEY (id1, id2)
147 CREATE TABLE producer (
148 producerid INTEGER PRIMARY KEY NOT NULL,
149 name varchar(100) NOT NULL
155 CREATE TABLE onekey (
156 id INTEGER PRIMARY KEY NOT NULL,
157 artist integer NOT NULL,