-- Supports EvalModel.loadPending: filters jobs by archived, orders by discovered_at.
-- Without this, a table scan of jobs is required every time the Evaluate tab refreshes.
CREATE INDEX IF NOT EXISTS idx_jobs_archived_discovered
    ON jobs(archived, discovered_at DESC);
