/[pgestraier]/trunk/data/trivia.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/data/trivia.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83 - (hide annotations)
Wed Jan 17 22:30:14 2007 UTC (17 years, 4 months ago) by dpavlin
File size: 317 byte(s)
restructure IMDB trivia parser, added db target to create
trivia database in PostgreSQL
1 dpavlin 83 create table films (
2     id serial,
3     title text not null,
4     year int,
5     primary key(id)
6     );
7    
8     create table trivias (
9     id serial,
10     film_id int references films(id),
11     trivia text not null,
12     primary key(id)
13     );
14    
15     create table quotes (
16     id serial,
17     trivia_id int references trivias(id),
18     quote text not null,
19     primary key(id)
20     );
21    

  ViewVC Help
Powered by ViewVC 1.1.26