From dcb7cfc98be6c808640dfef96a88a7d5b6b816db Mon Sep 17 00:00:00 2001 From: zerj9 <96551236+zerj9@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:14:56 +0100 Subject: [PATCH] Update DATA_MODEL.md --- DATA_MODEL.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/DATA_MODEL.md b/DATA_MODEL.md index d68e74e..73cb693 100644 --- a/DATA_MODEL.md +++ b/DATA_MODEL.md @@ -5,10 +5,8 @@ This is the data model used for the Gridwalk application. Currently, only Dynamo ## DynamoDB (Single Table) | PK | SK | Attributes | GSIs | |---|---|---|---| -| ORG# | ORG# | org_name
org_leader
created_at | GSI_ORG_BY_NAME
org_name: | -| ORG# | TEAM# | team_name
team_leader
created_at | | -| USER# | USER# | user_name
created_at | | +| USER# | USER# | user_name
created_at
primary_email | | | EMAIL# | EMAIL# | user_id | | -| ORG# | USER# | user_role
joined_at | | -| USER# | ORG# | | | -| SESSION# | SESSION# | user_id
created_at | | +| WSP# | WSP# | workspace_name
workspace_owner
created_at | GSI_WORKSPACE_BY_NAME
workspace_name: | +| WSP# | USER# | user_role
joined_at
user_id | GSI_USER_ID
user_id: | +| SESSION# | SESSION# | user_id
created_at | GSI_USER
user_id: |