Skip to content
Newer
Older
100644 43 lines (37 sloc) 1.01 KB
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
1 create table sources (
09d2a4b fetch.rb uses a transaction now
astro authored Jan 28, 2007
2 collection varchar(255) not null,
3 rss varchar(255) not null,
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
4 last varchar(40),
09d2a4b fetch.rb uses a transaction now
astro authored Jan 28, 2007
5 title varchar(255),
6 link varchar(255),
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
7 description text,
8 unique (collection, rss)
9 );
10
11 create table items (
09d2a4b fetch.rb uses a transaction now
astro authored Jan 28, 2007
12 rss varchar(255) not null,
13 title varchar(255),
14 link varchar(255),
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
15 date timestamp,
16 description text,
17 unique (rss, link)
18 );
19
09d2a4b fetch.rb uses a transaction now
astro authored Jan 28, 2007
20 create table enclosures (
21 rss varchar(255) not null,
22 link varchar(255) not null,
23 href varchar(255) not null,
24 mime varchar(255),
25 title varchar(255),
26 length int,
27 unique (rss, link, href)
28 );
29
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
30 create view last48hrs as select items.rss, items.title, items.link, sources.title as blogtitle, sources.collection from items, sources where items.rss = sources.rss and now() - interval '48 hour' < items.date order by date;
31
32 create table jabbersubscriptions (
09d2a4b fetch.rb uses a transaction now
astro authored Jan 28, 2007
33 jid varchar(255) not null,
34 collection varchar(255) not null,
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
35 unique (jid, collection)
36 );
37
38 create table jabbersettings (
09d2a4b fetch.rb uses a transaction now
astro authored Jan 28, 2007
39 jid varchar(255) primary key,
9f1e3d8 Initial import of:
astro authored Nov 26, 2006
40 respect_status boolean,
41 message_type varchar(16)
42 );
Something went wrong with that request. Please try again.