mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-03 11:40:01 +02:00
27 lines
530 B
Python
27 lines
530 B
Python
"""add_deployment_name_to_llmprovider
|
|
|
|
Revision ID: e4334d5b33ba
|
|
Revises: ac5eaac849f9
|
|
Create Date: 2024-10-04 09:52:34.896867
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = "e4334d5b33ba"
|
|
down_revision = "ac5eaac849f9"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"llm_provider", sa.Column("deployment_name", sa.String(), nullable=True)
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("llm_provider", "deployment_name")
|