Back to Data Models

Task

ImplementedUpdated 2024-03-15

The core unit of work — something a user needs to get done.

Open questions / notes

If dueDate is null the task has no deadline. aiPriority is null until the AI has processed the task.

Fields
11 fields defined
NameTypeRequiredUniqueDescription
iduuidPrimary key
titlestring—Short task title (max 255 chars)
descriptiontextoptional—Optional longer description
statusenum
todoin_progressdonecancelled
—Current state
priorityenum
lowmediumhighurgent
—User-set priority
aiPriorityenum
lowmediumhighurgent
optional—AI-suggested priority — user can override
dueDatedateoptional—Optional deadline
creatorIduuid—FK → User who created the task
assigneeIduuidoptional—FK → User assigned to complete it
workspaceIduuid—FK → Workspace this task belongs to
createdAtdatetime—Creation timestamp
Relationships
How this model connects to others
Taskbelongs toUser

Creator of the task

Taskbelongs toWorkspace

Workspace the task lives in

Taskhas manyNotification

Deadline and mention notifications for this task

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