code: def upgrade() -> None:
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table(
          "suggestions",
          sa.Column("id", sa.Uuid(), nullable=False),
          sa.Column("value", sa.JSON(), nullable=False),
          sa.Column("score", sa.Float(), nullable=True),
          sa.Column("agent", sa.String(), nullable=True),
          sa.Column(
              "type",
              sa.Enum(name="suggestion_type_enum"),
              nullable=True,
          ),
          sa.Column("record_id", sa.Uuid(), nullable=False),
          sa.Column("question_id", sa.Uuid(), nullable=False),
          sa.Column("inserted_at", sa.DateTime(), nullable=False),
          sa.Column("updated_at", sa.DateTime(), nullable=False),
          sa.ForeignKeyConstraint(
              ["question_id"], ["questions.id"], ondelete="CASCADE"
          ),
          sa.ForeignKeyConstraint(
              ["record_id"], ["records.id"], ondelete="CASCADE"
          ),
          sa.PrimaryKeyConstraint("id"),
          sa.UniqueConstraint(
              "record_id",
              "question_id",
              name="suggestion_record_id_question_id_uq",
          ),
      )
      op.create_index(
          op.f("ix_suggestions_question_id"),
          "suggestions",
          ["question_id"],
          unique=False,
      )
      op.create_index(
          op.f("ix_suggestions_record_id"),
          "suggestions",
          ["record_id"],
          unique=False,
      )
      op.create_index(
          op.f("ix_suggestions_type"),
          "suggestions",
          ["type"],
          unique=False,
      )
  
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