Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions alembic/versions/c6d1cbcccb41_dummy_alembic_to_update_incognito.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
"""Dummy alembic to update incognito

Revision ID: c6d1cbcccb41
Revises: 059f0d62a6b9
Create Date: 2025-10-27 15:38:06.608300

"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "c6d1cbcccb41"
down_revision = "059f0d62a6b9"
branch_labels = None
depends_on = None


def upgrade():
connection = op.get_bind()
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###
update_dataset_sql = """
UPDATE cognition.conversation
SET incognito_mode = FALSE
WHERE incognito_mode IS NULL; """
connection.execute(update_dataset_sql)


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###