code: def upgrade() -> None:
      # ### commands auto generated by Alembic - please adjust! ###
      with op.batch_alter_table("projects", schema=None) as batch_op:
          batch_op.add_column(
              sa.Column("deleted", sa.Boolean(), nullable=True)
          )
  
      with op.batch_alter_table("runs", schema=None) as batch_op:
          batch_op.add_column(
              sa.Column("deleted", sa.Boolean(), nullable=True)
          )
  
      op.execute(sa.sql.text("UPDATE runs SET deleted = FALSE"))
      op.execute(sa.sql.text("UPDATE projects SET deleted = FALSE"))
  
      with op.batch_alter_table("projects", schema=None) as batch_op:
          batch_op.alter_column("deleted", nullable=False)
  
      with op.batch_alter_table("runs", schema=None) as batch_op:
          batch_op.alter_column("deleted", nullable=False)
  
imports: import sqlalchemy
  import sqlalchemy_utils
  from alembic import op
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types