Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 3.91 KB

File metadata and controls

14 lines (7 loc) · 3.91 KB

Organisation

sunbird.organisation (PRIMARY KEY: id)

Table used for storing Tenants/Organisations and Sub-Organisations

Column NameData TypeDescriptionSample Value
idtextId of the organisation0126796199493140480
channeltextAbbreviation of the Tenant Organisation nameTN , AP, CBSE etc if Tenant Org Name is Tamil Nadu, Andra Pradesh, Central Board of Secondary Education etc
contactdetailtextNot Used
createdbytextUUID of the created user7c784c71-9034-4de7-aa38-5382fc673b14
createddatetextDate on which Organisation detail as added to the table
descriptiontextDescription on the Organisation
emailtextEmail Id f the Organisation
externalidtextUnique identifier or registered Organisation Code which is used for reference externally3453456 or something unique to the org
hashtagidtextSame as organisation id0126796199493140480
isrootorgbooleanNot Used
isssoenabledbooleanIf the login from tenant site is enabled to sunbird system.True or False
istenantbooleanTo indicate whether Organisation is a Tenant ORg or Sub- Org under the Tenant OrgTrue or False
keysmap<text, frozen<list<text>>>Public key shared by the Organisation
locationidslist<text>Not used
organisationtypeintType of the Organisation2, 5 etc
orglocationtextLocation details of the organisation. This is validated against the configuration of location types in properties file "sunbird_valid_location_types"

[ { "code": "32", "type": "state" }, { "code": "3210", "type": "district" },

{"code": "321001", "type": "block"} ,{"code": "32100123", "type": "cluster"]

orgnametextName of the OrganisationKids of India
providertextSame as channel.
rootorgidtextnull in case of Tenant Orgs and Tenant Org id incase of sub-orgs.null or 0126796199493140480
slugtextSlug and channel are abbrevations of organisation name, where slug is URL compatable, while channel is not.tn, ap etc
statusintActive or not. '1' means active, '0' is inactive1 or 0
updatedbytextUUID of the user who updated the organisation detail.
updateddatetextDate in which this table record is updated last.

sunbird.org_external_identity [PRIMARY KEY: (provider, externalid)]

Table used to store details of the organisation as stored in the third party system (SSO integrated system)

Column NameData TypeDescriptionSample Data
providertextTenant Organisation to which the sub-organisation belongs toekstep
externalidtextExternal Id of the organisation as maintained in the third party system28110100101
orgidtextIdentifier of the organisation maintained in the Sunbird0127257746440601604