code: def upgrade():
      op.add_column(
          "metrics",
          sa.Column(
              "step",
              sa.BigInteger(),
              nullable=False,
              server_default="0",
          ),
      )
      # Use batch mode so that we can run "ALTER TABLE" statements against SQLite
      # databases (see more info at https://alembic.sqlalchemy.org/en/latest/
      # batch.html#running-batch-migrations-for-sqlite-and-other-databases)
      with op.batch_alter_table("metrics") as batch_op:
          batch_op.drop_constraint(
              constraint_name="metric_pk", type_="primary"
          )
          batch_op.create_primary_key(
              constraint_name="metric_pk",
              columns=["key", "timestamp", "step", "run_uuid", "value"],
          )
  
imports: from alembic import op
  import sqlalchemy
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types