code: def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table(
          "stream",
          sa.Column("id", sa.INTEGER(), nullable=False),
          sa.Column("name", sa.VARCHAR(), nullable=False),
          sa.Column("stream_in", sa.VARCHAR(), nullable=False),
          sa.Column("stream_out", sa.VARCHAR(), nullable=False),
          sa.Column("anomaly_stream", sa.VARCHAR(), nullable=True),
          sa.Column("integration", sa.VARCHAR(), nullable=True),
          sa.Column("predictor", sa.VARCHAR(), nullable=False),
          sa.Column("company_id", sa.INTEGER(), nullable=True),
          sa.Column("updated_at", sa.DATETIME(), nullable=True),
          sa.Column("created_at", sa.DATETIME(), nullable=True),
          sa.Column("type", sa.VARCHAR(), nullable=True),
          sa.Column("connection_info", sa.VARCHAR(), nullable=True),
          sa.Column("learning_params", sa.VARCHAR(), nullable=True),
          sa.Column("learning_threshold", sa.INTEGER(), nullable=True),
          sa.PrimaryKeyConstraint("id"),
      )
  
imports: from alembic import op
  import sqlalchemy
  import mindsdb.interfaces.storage.db
label_desc: Use image node_id 2 for calling a global function with example usage: downgrade() without return types