"""add max_hr to riders

Revision ID: 61f691fee44a
Revises: ab0f6e2939d3
Create Date: 2026-03-17 10:40:39.156732

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '61f691fee44a'
down_revision: Union[str, None] = 'ab0f6e2939d3'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('riders', sa.Column('max_hr', sa.Integer(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('riders', 'max_hr')
    # ### end Alembic commands ###
