CREATE TABLE IF NOT EXISTS runs (
 id INTEGER NOT NULL PRIMARY KEY,
 run DATETIME NOT NULL DEFAULT current_timestamp,
 feed INTEGER NOT NULL,
 fetched DATETIME,
 posted DATETIME,
 FOREIGN KEY (feed) REFERENCES feeds(id)
);
