From 89eeab16ec11c1c4fd8bc0f38491f638af6e18fd Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Mon, 12 Jun 2017 21:48:58 +0200 Subject: [PATCH] Snapshot of the sqlite schema --- rss2html.sqlite | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 rss2html.sqlite diff --git a/rss2html.sqlite b/rss2html.sqlite new file mode 100644 index 0000000..3a5be2a --- /dev/null +++ b/rss2html.sqlite @@ -0,0 +1,7 @@ +CREATE TABLE feeds (id integer primary key autoincrement, url varchar, update_frequency int, last_update int, title varchar, type varchar, allow_img boolean, expire int, lang varchar); +CREATE TABLE items (id integer primary key autoincrement, title varchar, link varchar, content varchar, issued int, seen int, feed_id integer, old int); +CREATE TABLE read(item_id integer, user varchar, foreign key (item_id) references items(id)); +CREATE INDEX items_link_idx on items(link); +CREATE INDEX read_item_id_idx on read(item_id); +CREATE TABLE later (item_id integer, user varchar, foreign key (item_id) references items(id)); +CREATE INDEX later_item_id_idx on later(item_id);