Detailed evaluation checklist covering schema, RLS, create_task RPC, update_task_status RPC, list page, and bulk update.
tasks
id
gen_random_uuid()
workspace_id
title
description
status
'open'
priority
'medium'
assignee_id
created_by
due_date
created_at
now()
IN ('open', 'in-progress', 'done', 'cancelled')
IN ('low', 'medium', 'high', 'urgent')
(workspace_id, status)
(workspace_id, assignee_id)
(workspace_id, priority, status)
(workspace_id, due_date)
auth.uid()
create_task
p_workspace_id
p_title
p_description
p_priority
p_assignee_id
p_due_date
'low'
'high'
'urgent'
created_by = auth.uid()
status = 'open'
json_build_object('data', row_to_json(v_task))
'ERROR_CODE: description'
update_task_status
p_workspace_id UUID
p_task_ids UUID[]
p_status text
p_status
p_task_ids
workspace_id = p_workspace_id
/workspaces/{workspace_id}/tasks
?search=
?status=
?priority=
?assignee=
?page=