-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show the project for read-only and provisioned sessions in the Active Sessions overview.
- Loading branch information
1 parent
5436a1d
commit 3095dbe
Showing
24 changed files
with
971 additions
and
750 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
backend/capellacollab/alembic/versions/4cf566b4f986_add_project_scope_to_session_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
"""Add project scope to session table | ||
Revision ID: 4cf566b4f986 | ||
Revises: 2f8449c217fa | ||
Create Date: 2024-12-02 14:40:15.815359 | ||
""" | ||
import sqlalchemy as sa | ||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "4cf566b4f986" | ||
down_revision = "2f8449c217fa" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.add_column( | ||
"sessions", sa.Column("project_id", sa.Integer(), nullable=True) | ||
) | ||
op.create_foreign_key(None, "sessions", "projects", ["project_id"], ["id"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
...tend/src/app/sessions/user-sessions-wrapper/active-sessions/active-sessions.component.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.