Skip to main content

Database Schema

Entities -Todo Management

Table: Todo

Column NameData TypeDescription
todo_iduuidUnique identifier for each todo task.
asset_idintegerID of the related asset (optional).
orderingintegerDefines the order of tasks (defaults to 1).
statestateCurrent state of the todo (custom enum type).
sender_msgcharacter varyingMessage sent by the assigner to the assignee.
context_iduuidID representing the context related to the task.
contextcontextContext of the task (custom enum type).
assigned_byuuidUser ID of the person assigning the task.
assigned_touuidUser ID of the person to whom the task is assigned.
start_datetimestamp with time zoneWhen the task should start.
due_datetimestamp with time zoneDeadline by which the task should be completed.
statustodo_statusCurrent status of the task (incomplete by default).
titlecharacter varyingTitle or summary of the task.
typecharacter varyingType of task, describing its nature (e.g., assign).
created_byuuidUser ID of the task creator.
updated_byuuidUser ID of the person who last updated the task.
created_attimestamp with time zoneWhen the task was created.
updated_attimestamp with time zoneLast update timestamp of the task.
ideal_timetime without time zoneIdeal time expected for task completion.
spent_timetime without time zoneActual time spent on the task.
completion_datetimestamp with time zoneWhen the task was marked as completed (if applicable).
action_datajsonbAdditional data related to the task in JSON format.

Todo