"""Add jira_api_token to users table.

Revision ID: b042
Revises: b041_operational_alerts
Create Date: 2026-05-26
"""

from alembic import op
import sqlalchemy as sa

revision = "b042"
down_revision = "b041alerts"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column(
        "users",
        sa.Column("jira_api_token", sa.String(500), nullable=True),
    )


def downgrade() -> None:
    op.drop_column("users", "jira_api_token")
