]>
Commit | Line | Data |
---|---|---|
28a80fbf AD |
1 | drop table ttrss_entries; |
2 | drop table ttrss_feeds; | |
3 | ||
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); | |
8 | ||
a2015351 AD |
9 | insert into ttrss_feeds (title,feed_url) values ('Footnotes', 'http://gnomedesktop.org/node/feed'); |
10 | insert into ttrss_feeds (title,feed_url) values ('Freedesktop.org', 'http://planet.freedesktop.org/rss20.xml'); | |
11 | insert into ttrss_feeds (title,feed_url) values ('Planet Debian', 'http://planet.debian.org/rss20.xml'); | |
12 | insert into ttrss_feeds (title,feed_url) values ('Planet GNOME', 'http://planet.gnome.org/rss20.xml'); | |
13 | insert into ttrss_feeds (title,feed_url) values ('Monologue', 'http://www.go-mono.com/monologue/index.rss'); | |
857d6a80 | 14 | |
a2015351 | 15 | insert into ttrss_feeds (title,feed_url) values ('Latest Linux Kernel Versions', |
857d6a80 AD |
16 | 'http://kernel.org/kdist/rss.xml'); |
17 | ||
a2015351 | 18 | insert into ttrss_feeds (title,feed_url) values ('RPGDot Newsfeed', |
857d6a80 AD |
19 | 'http://www.rpgdot.com/team/rss/rss0.xml'); |
20 | ||
a2015351 | 21 | insert into ttrss_feeds (title,feed_url) values ('Digg.com News', |
857d6a80 AD |
22 | 'http://digg.com/rss/index.xml'); |
23 | ||
a2015351 | 24 | insert into ttrss_feeds (id,title,feed_url) values ('Technocrat.net', |
857d6a80 | 25 | 'http://syndication.technocrat.net/rss'); |
28a80fbf | 26 | |
28a80fbf | 27 | create table ttrss_entries (id serial not null primary key, |
d76a3b03 AD |
28 | feed_id int references ttrss_feeds(id) not null, |
29 | updated timestamp not null, | |
30 | title varchar(250) not null, | |
28a80fbf | 31 | guid varchar(300) not null unique, |
d76a3b03 | 32 | link varchar(300) not null unique, |
a2015351 | 33 | md5_hash varchar(200) not null, |
d76a3b03 | 34 | content text not null, |
b197f117 | 35 | last_read timestamp, |
b82af8c3 AD |
36 | no_orig_date boolean not null default false, |
37 | unread boolean not null default true); | |
6f428bc5 | 38 |