MemGPT/alembic/versions/dfafcf8210ca_add_model_endpoint_to_steps_table.py
cthomas 136844dd11
feat: multi-agent refactor and api changes (#2414)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-02-05 14:31:11 -08:00

32 lines
827 B
Python

"""add model endpoint to steps table
Revision ID: dfafcf8210ca
Revises: f922ca16e42c
Create Date: 2025-02-04 16:45:34.132083
"""
from typing import Sequence, Union
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision: str = "dfafcf8210ca"
down_revision: Union[str, None] = "f922ca16e42c"
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("steps", sa.Column("model_endpoint", sa.String(), nullable=True))
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("steps", "model_endpoint")
# ### end Alembic commands ###