create table sources(
    name text not null,
    primary key (name)
) strict;
create table items(
    source text not null,
    id text not null,
    created int not null default (unixepoch()),
    active int not null,
    title text,
    author text,
    body text,
    link text,
    time int,
    primary key (source, id),
    foreign key (source) references sources (name) on delete cascade
) strict;
