code: def downgrade() -> None:
      # ### commands auto generated by Alembic - please adjust! ###
      with op.batch_alter_table("gateways", schema=None) as batch_op:
          batch_op.add_column(
              sa.Column(
                  "instance_id", sa.VARCHAR(length=100), nullable=False
              )
          )
          batch_op.add_column(
              sa.Column(
                  "ip_address", sa.VARCHAR(length=100), nullable=False
              )
          )
          batch_op.drop_constraint(
              batch_op.f(
                  "fk_gateways_gateway_compute_id_gateway_computes"
              ),
              type_="foreignkey",
          )
          batch_op.drop_column("gateway_compute_id")
  
      op.drop_table("gateway_computes")
  
imports: import sqlalchemy
  import sqlalchemy_utils
  from alembic import op
label_desc: Use image node_id 2 for calling a global function with example usage: downgrade() without return types