8 lines
670 B
Plaintext
8 lines
670 B
Plaintext
|
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);
|