Skip to main content

workgroupmapper

Table: workgroupmapper

The workgroupmapper table maps users to workgroups and locations.

Columns

Column NameData TypeConstraintsDescription
mappedIdint(11)NOPrimary key referencing ID mapper
workgrouptypeIdint(11)NOReference to workgroup type
createdByUserIdint(11)YESUser who created the mapping
lastEditedByUserIdint(11)YESUser who last edited the mapping
createdDatedatetimeYESCreation timestamp
lastEditedDatedatetimeYESLast edited timestamp
locationIdint(11)YESLocation ID assigned

Indexes

  • workgroupId_fk_idx — Index on workgrouptypeId
  • createdByU_fk_idx — Index on createdByUserId
  • editedByU_fk_idx — Index on lastEditedByUserId
  • wgmapper_location_FK — Index on locationId

Foreign Key Relations

  • mappedId → idmapper.mappedId
  • workgrouptypeId → workgrouptype.workgrouptypeId
  • createdByUserId → user.mappedId
  • lastEditedByUserId → user.mappedId
  • locationId → vaccinationcenter.mappedId

Usage Notes

  • Maps users to workgroups and field locations.
  • Ensures proper scheduling and resource allocation.