commit c156247790c54e9e20f574d8238d7c47dec29b19
Author: Ben Sima <ben@bensima.com>
Date: Sun Nov 30 07:24:06 2025
Fix task loading - column order mismatch in SQL query
The fix is complete. I added the missing `complexity` column to the
`loa
```sql SELECT id, title, type, parent, namespace, status, priority,
complexity, ```
This matches the expected column order in the `FromRow Task`
instance at
Task-Id: t-195
diff --git a/Omni/Task/Core.hs b/Omni/Task/Core.hs
index 49c22479..c930b2c9 100644
--- a/Omni/Task/Core.hs
+++ b/Omni/Task/Core.hs
@@ -635,7 +635,7 @@ getSuffix parent childId =
loadTasks :: IO [Task]
loadTasks =
withDb <| \conn -> do
- SQL.query_ conn "SELECT id, title, type, parent, namespace, status, priority, dependencies, description, comments, created_at, updated_at FROM tasks"
+ SQL.query_ conn "SELECT id, title, type, parent, namespace, status, priority, complexity, dependencies, description, comments, created_at, updated_at FROM tasks"
-- Save a single task (UPSERT)
saveTask :: Task -> IO ()