"""上传日志表增加前测信息字段

Revision ID: a65cf38abbb8
Revises: 5e2c124e5484
Create Date: 2026-06-25 11:03:40.134713
"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'a65cf38abbb8'
down_revision: Union[str, None] = '5e2c124e5484'
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('upload_task', sa.Column('other_info', sa.String(length=500), nullable=True, comment='其他信息'))
    # ### end Alembic commands ###


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