Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"""One drive path for desktop version

Revision ID: e3e108cd4b22
Revises: 04cd434ed6eb
Create Date: 2025-12-10 15:30:56.732793

"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "e3e108cd4b22"
down_revision = "04cd434ed6eb"
branch_labels = None
depends_on = None


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("user", sa.Column("one_drive_path", sa.String(), nullable=True))
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("user", "one_drive_path")
# ### end Alembic commands ###
1 change: 1 addition & 0 deletions fast_api/routes/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"email",
"use_new_cognition_ui",
"auto_logout_minutes",
"one_drive_path",
}
USER_INFO_RENAME_MAP = {"email": "mail"}
ALL_ORGANIZATIONS_WHITELIST = {
Expand Down
2 changes: 1 addition & 1 deletion submodules/model
Submodule model updated 1 files
+1 −0 models.py