-- Migration 004: cf-harvest video provenance (one row per source video)

CREATE TABLE IF NOT EXISTS knowledge_sources (
    id              INTEGER PRIMARY KEY AUTOINCREMENT,
    video_path      TEXT NOT NULL UNIQUE,
    presenter       TEXT,
    location        TEXT,
    source_domain   TEXT,
    ingested_at     TEXT NOT NULL DEFAULT (datetime('now'))
);
