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
| Name | Type | Required | Unique | Description |
|---|---|---|---|---|
| id | uuid | Primary key | ||
| string | Login email — unique across the system | |||
| name | string | — | Display name | |
| passwordHash | string | optional | — | Null if signed up via Google SSO |
| avatarUrl | string | optional | — | Profile picture URL |
| role | enum adminmemberviewer | — | Access level | |
| createdAt | datetime | — | 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 WorkspaceMemberER Diagram
Auto-generated from the fields and relationships above
Other Models
More models in this project