code: def downgrade():
      conn = op.get_bind()
      session = sa.orm.Session(bind=conn)
      conn.execute(
          text(
              """
          update predictor set integration_id = data_integration_id;
      """
          )
      )
      session.commit()
  
      with op.batch_alter_table("predictor", schema=None) as batch_op:
          batch_op.drop_constraint(
              "fk_data_integration_id", type_="foreignkey"
          )
          batch_op.alter_column(
              "integration_id",
              existing_type=sa.INTEGER(),
              nullable=True,
          )
          batch_op.drop_column("data_integration_id")
  
imports: from alembic import op
  import sqlalchemy
  from sqlalchemy.sql import text
  import mindsdb.interfaces.storage.db
label_desc: Use image node_id 2 for calling a global function with example usage: downgrade() without return types