Back to Data Models

User

ImplementedUpdated 2024-03-10

A registered person who can create and manage tasks.

Open questions / notes

Google SSO users have passwordHash = null.

Fields
7 fields defined
NameTypeRequiredUniqueDescription
iduuidPrimary key
emailstringLogin email — unique across the system
namestring—Display name
passwordHashstringoptional—Null if signed up via Google SSO
avatarUrlstringoptional—Profile picture URL
roleenum
adminmemberviewer
—Access level
createdAtdatetime—Account creation timestamp
Relationships
How this model connects to others
Userhas manyTask

Tasks created by or assigned to this user

Userhas manyWorkspace

Workspaces the user belongs to

via WorkspaceMember
ER Diagram
Auto-generated from the fields and relationships above
Other Models
More models in this project