23 lines
390 B
MySQL
23 lines
390 B
MySQL
|
PRAGMA journal_mode=WAL;
|
||
|
|
||
|
create table if not exists feeds (
|
||
|
feed_id blob primary key,
|
||
|
uri text,
|
||
|
nick string,
|
||
|
domain string,
|
||
|
last_scan_on timestamp,
|
||
|
refresh_rate int default 600
|
||
|
);
|
||
|
|
||
|
create table if not exists twts (
|
||
|
feed_id blob,
|
||
|
hash text,
|
||
|
conv text,
|
||
|
dt text, -- timestamp with timezone
|
||
|
text text,
|
||
|
mentions text, -- json
|
||
|
tags text, -- json
|
||
|
primary key (feed_id, hash)
|
||
|
);
|
||
|
|