Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 4.06 KB

File metadata and controls

17 lines (10 loc) · 4.06 KB
description
List of tables in Cassandra database used in Groups service

Data Dictionary

sunbird_groups.group [PRIMARY KEY: id]

Column NameData TypeDescriptionSample Value
idtextUUID of the groupad2ffd12-ee05-46fc-bbe7-f5a67bd0534e
activitieslist<frozen<map<text, text>>>Activities that are published with in the group[{'id': 'do_2132889347963535361756', 'type': 'Course'}, {'id': 'do_2133016209522933761354', 'type': 'Course'}, {'id': 'do_21333644232679424012289', 'type': 'Course'}, {'id': 'do_21331802990687027216', 'type': 'Course'}, {'id': 'do_2133483390278287361856', 'type': 'Course'}, {'id': 'do_2133817803741347841999', 'type': 'Content Playlist'}, {'id': 'do_213375362019328000129', 'type': 'Teacher Resource'}, {'id': 'do_21333645138176409618', 'type': 'Course'}, {'id': 'do_2132734144209469441409', 'type': 'Course'}, {'id': 'do_2132882557402644481743', 'type': 'Course'}, {'id': 'do_2133187549468098561201', 'type': 'Course'}, {'id': 'do_21334149144616960013071', 'type': 'Course'}]
createdbytextUUID of the group created userfbe926ac-a395-40e4-a65b-9b4f711d7642
createdontimestampGroup created on2021-05-31 11:04:58.580000+0000
descriptiontextDescription of the GroupEditedGroup
membershiptypetextType of member to the group, Possible values: moderated, invite_onlyinvite_only
nametextName of the GroupdashletEditedGroup
statustextStaus of the groupactive
updatedbytextLast updated byfca2925f-1eee-4654-9177-fece3fd6afc9
updatedontimestampLast updated timestamp2021-11-03 04:28:30.528000+0000

sunbird_groups.group_member [PRIMARY KEY (groupid, userid)]

Column NameData TypeDescriptionSample Value
groupidtextUUID, id of the groupad2ffd12-ee05-46fc-bbe7-f5a67bd0534e
useridtextUUID, id of the user7557fd26-5b7c-4dd7-bd60-8e13ac856652
createdbytextUUID, created user idfca2925f-1eee-4654-9177-fece3fd6afc9
createdontimestampCreated on timestamp2021-10-21 14:41:23.654000+0000
removedbytextUUID, of the user that triggered the eventfca2925f-1eee-4654-9177-fece3fd6afc9
removedontimestampremoved timestamp2021-12-03 04:29:09.182000+0000
roletextRole of the person in the group, possible values are: member, adminmember
statustextStatus of the user with respect to the groupactive
updatedbytextUUID, of the last updated userfbe926ac-a395-40e4-a65b-9b4f711d7642
updatedontimestampLast updated timestamp2021-09-08 07:02:12.553000+0000
visitedbooleanMember visited the groupTrue

sunbird_groups.user_group [PRIMARY KEY: userid]

Column NameData TypeDescriptionSample Value
useridtextUUID, id of the user10e2cac0-1757-47d3-a010-b9bca8d2d5d0
groupidset<text>UUID of the groups, groups id's of the user that are linked to{'95cea74a-2647-44a4-98e1-a4337b9e67b2', 'c535cd6a-f03d-4484-9b48-5cce6f935d78'}