"""Add reminder_minutes and reminder_sent_at to events.

Revision ID: 0037
Revises: 0036
Create Date: 2026-04-04
"""

from __future__ import annotations

import sqlalchemy as sa
from alembic import op

revision = "0037"
down_revision = "0036"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column("events", sa.Column("reminder_minutes", sa.Integer(), nullable=True))
    op.add_column(
        "events",
        sa.Column("reminder_sent_at", sa.DateTime(timezone=True), nullable=True),
    )


def downgrade() -> None:
    op.drop_column("events", "reminder_sent_at")
    op.drop_column("events", "reminder_minutes")
