"""change from string to Text Revision ID: fbb9233ea62c Revises: b3661086eb6b Create Date: 2024-09-04 14:53:10.053804 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'fbb9233ea62c' down_revision = 'b3661086eb6b' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('url', schema=None) as batch_op: batch_op.alter_column('original_url', existing_type=sa.VARCHAR(length=255), type_=sa.Text(), existing_nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('url', schema=None) as batch_op: batch_op.alter_column('original_url', existing_type=sa.Text(), type_=sa.VARCHAR(length=255), existing_nullable=False) # ### end Alembic commands ###