mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
32 lines
827 B
Python
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 ###
|