code: def upgrade():
      """Apply refactor dag run indexes"""
      # This index may have been created in 2.7 but we've since removed it from migrations
      import sqlalchemy
      from contextlib import suppress
  
      with suppress(
          sqlalchemy.exc.DatabaseError
      ):  # mysql does not support drop if exists index
          op.drop_index(
              "ti_state_incl_start_date",
              table_name="task_instance",
              if_exists=True,
          )
  
imports: import sqlalchemy
  from alembic import op
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types