CREATE TABLE IF NOT EXISTS subscribers (
    pubkey TEXT PRIMARY KEY,
    created_at INTEGER
);

CREATE TABLE IF NOT EXISTS foaf (
    foaf_pubkey TEXT,
    subscriber_pubkey TEXT,
    FOREIGN KEY (subscriber_pubkey) REFERENCES subscribers(pubkey)
);
