Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AuthorAdesh Singh
JIRA task

https://issuesfolio-org.folioatlassian.orgnet/browse/MODFISTO-394 

Define DB schema for storing tenants and create table

https://issuesfolio-org.folioatlassian.orgnet/browse/MODFISTO-400 
Define DB schema for storing user and affiliation associations and create table

Business RequirementsDefine DB schema for storing tenants and create table
Define DB schema for storing user and affiliation associations and create table
Architects ReviewPending
PO reviewPending

...

ColumnColumn Data TypeSenseIs mandatory?Is unique?Notes
idUUIDHow to identify a user and tenant tableYYUUID of user and tenant table and it is primary key
user_idUUIDHow to identify a user?YYUUID of the user
usernameString(text)How to identify a username?YNusername of the user
tenant_idString(text)What tenantId does the user associate with?YNUUID of the affiliation is associated with the user. - Foreign Key to tenant table
is_primaryBooleanis Tenant primary for the user?YNWhether this tenant is the primary tenant for the user.

Entity Relation Diagram
Image Added