"""Add verified_at column to lead_requests for double opt-in tracking."""


def up(conn):
    cols = {r[1] for r in conn.execute("PRAGMA table_info(lead_requests)").fetchall()}
    if "verified_at" not in cols:
        conn.execute("ALTER TABLE lead_requests ADD COLUMN verified_at TEXT")
