Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: next
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (37 sloc) 1.035 kb
create table sources (
collection varchar(255) not null,
rss varchar(255) not null,
last varchar(40),
title varchar(255),
link varchar(255),
description text,
unique (collection, rss)
);
create table items (
rss varchar(255) not null,
title varchar(255),
link varchar(255),
date timestamp,
description text,
unique (rss, link)
);
create table enclosures (
rss varchar(255) not null,
link varchar(255) not null,
href varchar(255) not null,
mime varchar(255),
title varchar(255),
length int,
unique (rss, link, href)
);
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;
create table jabbersubscriptions (
jid varchar(255) not null,
collection varchar(255) not null,
unique (jid, collection)
);
create table jabbersettings (
jid varchar(255) primary key,
respect_status boolean,
message_type varchar(16)
);
Jump to Line
Something went wrong with that request. Please try again.