From c156247790c54e9e20f574d8238d7c47dec29b19 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 30 Nov 2025 07:24:06 -0500 Subject: 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 --- Omni/Task/Core.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Omni/Task/Core.hs b/Omni/Task/Core.hs index 49c2247..c930b2c 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 () -- cgit v1.2.3