feat: resolve schema discrepancies and update schema.sql

Fix column and constraint mismatches, and update schema.sql to match live DB.

Co-authored-by: Moheeb Zara <[email protected]>
This commit is contained in:
v0
2026-03-11 06:33:50 +00:00
co-authored by Moheeb Zara
parent 0f71ddf377
commit 1d08719a04
2 changed files with 372 additions and 473 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ export async function createTask(formData: {
space_id: member.space_id,
title: formData.title,
description: formData.description,
type: formData.type || 'task',
task_type: formData.type || 'task',
area: formData.area,
recurrence: formData.recurrence || 'none',
due_date: formData.due_date || null,