"""Increase password hash length Revision ID: f83d55cc5aa7 Revises: dd9a310269e3 Create Date: 2025-05-22 21:01:20.068388 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'f83d55cc5aa7' down_revision = 'dd9a310269e3' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('user', schema=None) as batch_op: batch_op.alter_column('password_hash', existing_type=sa.VARCHAR(length=128), type_=sa.String(length=256), existing_nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('user', schema=None) as batch_op: batch_op.alter_column('password_hash', existing_type=sa.String(length=256), type_=sa.VARCHAR(length=128), existing_nullable=False) # ### end Alembic commands ###