Pedro/migrate context call to main prompt (#3400)

This commit is contained in:
Shuchang Zheng
2025-09-11 13:49:05 -07:00
committed by GitHub
parent 3d2b164ea8
commit b7515919d7
11 changed files with 104 additions and 9 deletions

View File

@@ -0,0 +1,31 @@
"""add input_or_select_context column to the actions table
Revision ID: bbcc08ba09f5
Revises: 8de03b8cb83a
Create Date: 2025-09-11 20:38:47.648188+00:00
"""
from typing import Sequence, Union
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision: str = "bbcc08ba09f5"
down_revision: Union[str, None] = "8de03b8cb83a"
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("actions", sa.Column("input_or_select_context", sa.JSON(), nullable=True))
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("actions", "input_or_select_context")
# ### end Alembic commands ###