]>
git.wh0rd.org - tt-rss.git/blob - ttrss_schema.sql
589f9393e0daff403524902b48cca683fdfd564d
1 drop table ttrss_entries
;
2 drop table ttrss_feeds
;
4 create table ttrss_feeds (id serial
not null primary key,
5 title
varchar(200) not null unique,
6 feed_url
varchar(250) unique not null,
7 last_updated
timestamp default null);
9 insert into ttrss_feeds (id,title
,feed_url
) values (0, 'Art.Gnome.Org Releases', 'http://art.gnome.org/backend.php');
10 insert into ttrss_feeds (id,title
,feed_url
) values (1, 'Footnotes', 'http://gnomedesktop.org/node/feed');
11 insert into ttrss_feeds (id,title
,feed_url
) values (2, 'Freedesktop.org', 'http://planet.freedesktop.org/rss20.xml');
12 insert into ttrss_feeds (id,title
,feed_url
) values (3, 'Planet Debian', 'http://planet.debian.org/rss20.xml');
13 insert into ttrss_feeds (id,title
,feed_url
) values (4, 'Planet Ubuntu', 'http://planet.ubuntulinux.org/rss20.xml');
14 insert into ttrss_feeds (id,title
,feed_url
) values (5, 'Planet GNOME', 'http://planet.gnome.org/rss20.xml');
15 insert into ttrss_feeds (id,title
,feed_url
) values (6, 'Monologue', 'http://www.go-mono.com/monologue/index.rss');
18 create table ttrss_entries (id serial
not null primary key,
19 feed_id
int references ttrss_feeds(id),
20 entry_time
timestamp not null,
21 headline
varchar(250) not null,
22 guid
varchar(300) not null unique,
23 content text not null);