mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-02 13:12:50 +02:00
* fix input prompts
* assistant ordering validation
* k
* Revert "fix input prompts"
This reverts commit a4b577bdd7
.
* fix alembic
* foreign key updates
* Revert "foreign key updates"
This reverts commit fe17795a037f831790d69229e1067ccb5aab5bd9.
* improve e2e tests
* fix admin
30 lines
610 B
Python
30 lines
610 B
Python
"""remove recent assistants
|
|
|
|
Revision ID: a6df6b88ef81
|
|
Revises: 4d58345da04a
|
|
Create Date: 2025-01-29 10:25:52.790407
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
from sqlalchemy.dialects import postgresql
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = "a6df6b88ef81"
|
|
down_revision = "4d58345da04a"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.drop_column("user", "recent_assistants")
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.add_column(
|
|
"user",
|
|
sa.Column(
|
|
"recent_assistants", postgresql.JSONB(), server_default="[]", nullable=False
|
|
),
|
|
)
|