"""023 benchmark link and screenshot fields use text Revision ID: 023 Revises: 022 Create Date: 2026-06-29 """ from alembic import op import sqlalchemy as sa revision = "023" down_revision = "022" branch_labels = None depends_on = None def upgrade(): op.alter_column( "benchmark_notes", "screenshot_url", existing_type=sa.String(length=512), type_=sa.Text(), existing_nullable=True, ) op.alter_column( "benchmark_notes", "link_url", existing_type=sa.String(length=512), type_=sa.Text(), existing_nullable=True, ) def downgrade(): op.alter_column( "benchmark_notes", "link_url", existing_type=sa.Text(), type_=sa.String(length=512), existing_nullable=True, ) op.alter_column( "benchmark_notes", "screenshot_url", existing_type=sa.Text(), type_=sa.String(length=512), existing_nullable=True, )