"""Add markdown markdown_file_path_s3 column

Revision ID: 46ba2693b883
Revises: 07dc8c2589e0
Create Date: 2025-09-29 12:20:47.644058

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '46ba2693b883'
down_revision: Union[str, Sequence[str], None] = '07dc8c2589e0'
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('document', sa.Column('markdown_file_path_s3', sa.String(length=2048), nullable=True))
    # ### end Alembic commands ###


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