"""Add schedule timeout

Revision ID: 0a85ea95e68c
Revises: 046d417c113f
Create Date: 2024-11-27 11:46:05.761782

"""
from collections.abc import Sequence

import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision: str = "0a85ea95e68c"
down_revision: str | None = "046d417c113f"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column("schedule", sa.Column("timeout", sa.Float(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("schedule", "timeout")
    # ### end Alembic commands ###
