code: def downgrade():
      """Unapply Increase length for connection password"""
      with op.batch_alter_table("connection", schema=None) as batch_op:
          batch_op.alter_column(
              "password",
              existing_type=sa.String(length=5000),
              type_=sa.VARCHAR(length=500),
              existing_nullable=True,
          )
  
imports: from __future__ import annotations
  import sqlalchemy
  from alembic import op
label_desc: Use image node_id 2 for calling a global function with example usage: downgrade() without return types