CREATE TABLE IF NOT EXISTS movie_additions (
    id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
    tmdb_id  INTEGER NOT NULL,
    title    TEXT    NOT NULL,
    year     INTEGER NOT NULL,
    user     TEXT    NOT NULL,
    size     INTEGER NOT NULL,
    added_at TEXT    NOT NULL DEFAULT (STRFTIME('%Y-%m-%dT%H:%M:%S', 'NOW'))
);

CREATE TABLE IF NOT EXISTS milestones_announced (
    count INTEGER PRIMARY KEY NOT NULL
);
