xt/init.sql

23 lines
390 B
MySQL
Raw Normal View History

2024-11-10 13:23:00 -07:00
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)
);