"""add type column to chunk table

Revision ID: fa00286fe6cd
Revises: 54a2f12a1573
Create Date: 2025-11-13 12:15:39.435602

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'fa00286fe6cd'
down_revision: Union[str, Sequence[str], None] = '54a2f12a1573'
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('chunk', sa.Column('type', sa.String(length=50), nullable=True))
    # ### end Alembic commands ###


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