"""Cache table for lazily-created Resend audience IDs."""


def up(conn):
    conn.execute("""
        CREATE TABLE IF NOT EXISTS resend_audiences (
            name        TEXT PRIMARY KEY,
            audience_id TEXT NOT NULL,
            created_at  TEXT NOT NULL DEFAULT (datetime('now'))
        )
    """)
