code: def downgrade():
      try:
          # sqlite doesn't like dropping the columns
          op.drop_column("query", "tmp_schema_name")
      except Exception:
          pass
  
imports: 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