twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Dual-write for users and userWorkspaces.

Open mabdullahabaid opened this issue 3 weeks ago • 2 comments

Summary:

  • Replicated all the fields from users to userWorkspaces entity.
  • Introduced some helper functions to map the fields from userEntity that we want to write to userWorkspaceEntity.
  • Mapping all fields in every write so that if a user updates password, but nothing else, the entire user entity is mapped to user workspace table along with the updated password.

mabdullahabaid avatar Nov 14 '25 12:11 mabdullahabaid