code: def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table(
          "jobs_history",
          sa.Column("id", sa.Integer(), nullable=False),
          sa.Column("company_id", sa.Integer(), nullable=True),
          sa.Column("job_id", sa.Integer(), nullable=True),
          sa.Column("start_at", sa.DateTime(), nullable=True),
          sa.Column("end_at", sa.DateTime(), nullable=True),
          sa.Column("error", sa.String(), nullable=True),
          sa.Column("created_at", sa.DateTime(), nullable=True),
          sa.PrimaryKeyConstraint("id"),
          sa.UniqueConstraint(
              "job_id", "start_at", name="uniq_job_history_job_id_start"
          ),
      )
      op.create_table(
          "jobs",
          sa.Column("id", sa.Integer(), nullable=False),
          sa.Column("company_id", sa.Integer(), nullable=True),
          sa.Column("name", sa.String(), nullable=False),
          sa.Column("project_id", sa.Integer(), nullable=False),
          sa.Column("query_str", sa.String(), nullable=False),
          sa.Column("start_at", sa.DateTime(), nullable=True),
          sa.Column("end_at", sa.DateTime(), nullable=True),
          sa.Column("next_run_at", sa.DateTime(), nullable=True),
          sa.Column("schedule_str", sa.String(), nullable=True),
          sa.Column("deleted_at", sa.DateTime(), nullable=True),
          sa.Column("updated_at", sa.DateTime(), nullable=True),
          sa.Column("created_at", sa.DateTime(), nullable=True),
          sa.PrimaryKeyConstraint("id"),
      )
  
imports: from alembic import op
  import sqlalchemy
  import mindsdb.interfaces.storage.db
label_desc: Use image node_id 1 for calling a global function with example usage: upgrade() without return types