code: def upgrade() -> None:
      # ### commands auto generated by Alembic - please adjust! ###
      with op.batch_alter_table("projects", schema=None) as batch_op:
          batch_op.alter_column(
              "owner_id",
              existing_type=sa.CHAR(length=32),
              nullable=False,
          )
          batch_op.drop_constraint(
              "fk_projects_owner_id_users", type_="foreignkey"
          )
          batch_op.create_foreign_key(
              batch_op.f("fk_projects_owner_id_users"),
              "users",
              ["owner_id"],
              ["id"],
              ondelete="CASCADE",
          )
  
      with op.batch_alter_table("users", schema=None) as batch_op:
          batch_op.alter_column(
              "projects_quota",
              existing_type=sa.INTEGER(),
              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