mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-19 20:40:57 +02:00
* add admin page * credential + typing fix * rebase fix * on add, cleaner buttons * functional G + Ddrive * organized auth sections * update types and remove logs * ccs -> connectors * validated formik * update styling + connector-handling logic * udpate colors * separate out hooks + util functions * update to adhere to rest standards * remove "todos" * rebase * copy + formatting + sidebar * update statuses + configuration possibilities * update interfaces to be clearer * update indexing status page * formatting * address backend security + comments * update font * fix form routing * fix hydration error * add statuses, fix bugs, etc. (squash) * fix color (squash) * squash * add functionality to sidebar * disblae buttons if deleting * add color * minor copy + formatting updates - on modify credential, close - update copy for deletion of connectors * fix build error * copy --------- Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
28 lines
568 B
Python
28 lines
568 B
Python
"""Add thread specific model selection
|
|
|
|
Revision ID: 0568ccf46a6b
|
|
Revises: e209dc5a8156
|
|
Create Date: 2024-06-19 14:25:36.376046
|
|
|
|
"""
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = "0568ccf46a6b"
|
|
down_revision = "e209dc5a8156"
|
|
branch_labels: None = None
|
|
depends_on: None = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"chat_session",
|
|
sa.Column("current_alternate_model", sa.String(), nullable=True),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("chat_session", "current_alternate_model")
|