tasks

-1 rows


Description

Таблица задач

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 null

id задачи

created_by int4 10 null

id пользователя, который создал задачу

updated_by int4 10 null

id пользователя, который изменил задачу

created_at timestamp 29,6 null

Дата создания задачи

updated_at timestamp 29,6 null

Дата изменения задачи

responsible_user_id int4 10 null
users.id tasks_responsible_user_id_fkey R

id пользователя, ответственного за задачу

entity_id int4 10 null

id сущности, к которой привязана задача

entity_type_id int2 5 null
tasks_entity_types.id tasks_entity_type_id_fkey R

id типа сущности, к которой привязана задача

is_completed bool 1 null

Выполнена ли задача

is_deleted bool 1 null

Удалена ли задача

text text 2147483647 null

Описание задачи

task_type_id int4 10 null
task_types.id tasks_task_type_id_fkey R

id типа задачи

duration int4 10 null

Длительность задачи в секундах

complete_till timestamp 29,6 null

Дата, когда задача должна быть завершена

result_text text 2147483647 null

Текст результата выполнения задачи

Indexes

Constraint Name Type Sort Column(s)
tasks_pkey Primary key Asc id

Check Constraints

Constraint Name Constraint
tasks_created_by_check ((created_by >= 0))
tasks_id_check ((id > 0))
tasks_duration_check ((duration >= 0))
tasks_updated_by_check ((updated_by >= 0))

Relationships