"""add pdf_url to ticket

Revision ID: a55d80c4b300
Revises: 762b863b233b
Create Date: 2026-03-06 10:24:14.795359

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'a55d80c4b300'
down_revision: Union[str, Sequence[str], None] = '762b863b233b'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    """Upgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('tickets', sa.Column('pdf_url', sa.String(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('tickets', 'pdf_url')
    # ### end Alembic commands ###
