code: def upgrade():
      op.create_index(
          "idx_job_state_heartbeat",
          "job",
          ["state", "latest_heartbeat"],
          unique=False,
      )
  
imports: from __future__ import annotations
  from alembic import op
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types