teknium1
0cb7a2fd60
fix(kanban): heal every nullable v1 tasks column and index assignee after the ALTER pass
...
Review of the foreign-schema heal found two gaps in what it claimed to cover:
- `_BASE_TASK_COLUMNS` said it listed the nullable/defaulted v1 columns but
omitted `priority`, `created_by` and `completed_at`. A harness that seeded
`tasks(id,title,assignee,status,created_at,started_at)` connected fine and
then failed `list_tasks` with "no such column: priority" (`SELECT *` feeds
the Task row shape). Add the three entries with DDL copied from SCHEMA_SQL.
- The `assignee` heal was unreachable: `connect()` runs `executescript(SCHEMA_SQL)`
before `_migrate_add_optional_columns`, and SCHEMA_SQL's
`CREATE INDEX idx_tasks_assignee_status ON tasks(assignee, status)` aborts
init on a board without `assignee` before any ALTER runs. Move that index
into the post-ALTER `CREATE INDEX IF NOT EXISTS` block next to the other
additive-column indexes; fresh DBs end up with the identical index.
The existing foreign-schema test now seeds the narrowest schema
(`tasks(id,title,status,created_at)`), asserts all ten healed columns match
the fresh DDL, and reads the board back through `list_tasks`.
The "already fully migrated" fixture in
`test_migrate_add_optional_columns_tolerates_concurrent_migration` gains the
v1 `status` column the assignee/status index now needs (a real migrated board
always has it).
2026-09-16 16:58:43 -07:00
..
2026-09-13 09:40:44 -07:00
2026-09-16 00:32:15 -07:00
2026-09-15 21:46:37 -07:00
2026-09-16 14:21:14 -07:00
2026-09-16 16:44:53 -07:00
2026-09-14 09:02:28 -07:00
2026-09-15 04:11:11 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:11:11 -07:00
2026-09-16 16:48:42 -07:00
2026-09-15 03:58:44 -07:00
2026-09-15 03:58:44 -07:00
2026-09-16 16:48:42 -07:00
2026-09-16 14:34:59 -07:00
2026-09-15 20:44:42 +05:30
2026-09-15 04:57:29 -07:00
2026-09-16 14:34:59 -07:00
2026-09-16 14:34:59 -07:00
2026-09-15 20:44:42 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-16 16:16:24 +05:30
2026-09-16 14:34:59 -07:00
2026-09-12 22:07:41 -07:00
2026-09-15 03:38:29 -07:00
2026-09-12 22:07:41 -07:00
2026-09-16 14:34:59 -07:00
2026-09-16 14:34:59 -07:00
2026-09-15 18:26:38 -07:00
2026-09-15 19:06:54 -07:00
2026-09-16 16:53:40 -07:00
2026-09-15 18:24:22 -07:00
2026-09-12 08:25:54 -07:00
2026-09-16 16:54:57 -07:00
2026-09-12 08:25:54 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 19:28:32 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 06:29:50 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 14:52:26 +05:30
2026-09-13 20:54:50 -07:00
2026-09-15 18:25:46 -07:00
2026-09-13 14:35:32 -07:00
2026-09-13 05:21:02 -07:00
2026-09-12 22:00:02 -07:00
2026-09-13 14:35:32 -07:00
2026-09-15 04:08:53 -07:00
2026-09-15 20:47:06 +05:30
2026-09-15 04:12:13 -07:00
2026-09-13 20:50:10 -07:00
2026-09-15 19:05:29 -07:00
2026-09-15 19:05:29 -07:00
2026-09-15 06:29:50 -07:00
2026-09-12 08:25:36 -07:00
2026-09-13 20:41:41 -07:00
2026-09-12 16:17:04 -07:00
2026-09-16 16:53:40 -07:00
2026-09-15 06:29:50 -07:00
2026-09-15 21:47:48 -07:00
2026-09-15 05:25:39 -07:00
2026-09-15 00:41:13 +05:30
2026-09-16 00:35:00 -07:00
2026-09-14 08:10:36 -07:00
2026-09-16 08:57:18 -07:00
2026-09-13 05:07:11 -07:00
2026-09-13 05:09:06 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 05:38:31 -07:00
2026-09-15 18:29:16 -07:00
2026-09-13 05:07:11 -07:00
2026-09-13 09:18:02 -07:00
2026-09-15 04:12:13 -07:00
2026-09-13 05:09:06 -07:00
2026-09-15 18:28:26 -07:00
2026-09-16 23:19:45 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 12:06:08 -07:00
2026-09-15 04:12:13 -07:00
2026-09-13 20:51:06 -07:00
2026-09-12 21:39:10 -07:00
2026-09-14 08:10:36 -07:00
2026-09-15 20:44:42 +05:30
2026-09-15 04:12:13 -07:00
2026-09-16 08:57:18 -07:00
2026-09-16 00:33:03 -07:00
2026-09-16 08:57:18 -07:00
2026-09-16 08:57:18 -07:00
2026-09-15 03:44:36 -07:00
2026-09-15 04:07:13 -07:00
2026-09-16 16:52:59 -07:00
2026-09-16 16:55:18 -07:00
2026-09-16 16:43:08 -07:00
2026-09-15 03:59:50 -07:00
2026-09-16 00:32:15 -07:00
2026-09-16 16:58:43 -07:00
2026-09-16 00:35:00 -07:00
2026-09-14 16:14:33 -07:00
2026-09-16 16:51:45 -07:00
2026-09-16 16:58:43 -07:00
2026-09-13 05:09:06 -07:00
2026-09-15 18:35:32 -07:00
2026-09-15 18:34:40 -07:00
2026-09-15 18:33:43 -07:00
2026-09-15 18:34:40 -07:00
2026-09-16 16:56:22 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 18:28:26 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 18:29:37 -07:00
2026-09-15 18:35:59 -07:00
2026-09-12 08:25:54 -07:00
2026-09-13 16:43:50 -07:00
2026-09-15 04:12:13 -07:00
2026-09-16 16:48:42 -07:00
2026-09-15 06:29:50 -07:00
2026-09-15 18:55:47 -07:00
2026-09-16 15:16:09 -05:00
2026-09-16 15:16:09 -05:00
2026-09-15 04:12:13 -07:00
2026-09-15 19:06:54 -07:00
2026-09-15 03:38:29 -07:00
2026-09-15 05:34:29 -07:00
2026-09-13 05:07:11 -07:00
2026-09-13 20:54:50 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 03:39:45 -07:00
2026-09-13 16:43:50 -07:00
2026-09-15 03:46:29 -07:00
2026-09-15 06:29:50 -07:00
2026-09-16 10:52:32 -07:00
2026-09-15 18:58:02 -07:00
2026-09-16 16:54:57 -07:00
2026-09-14 22:01:32 +00:00
2026-09-14 08:10:36 -07:00
2026-09-16 00:32:15 -07:00
2026-09-16 14:18:39 -07:00
2026-09-15 15:11:33 -07:00
2026-09-16 15:47:44 -07:00
2026-09-16 15:47:44 -07:00
2026-09-16 15:47:44 -07:00
2026-09-15 18:48:59 -07:00
2026-09-15 10:48:49 +05:30
2026-09-15 10:48:49 +05:30
2026-09-15 04:12:13 -07:00
2026-09-16 00:32:15 -07:00
2026-09-13 14:33:11 -07:00
2026-09-16 14:21:14 -07:00
2026-09-16 14:34:59 -07:00
2026-09-15 06:22:15 -07:00
2026-09-16 14:34:22 -07:00
2026-09-16 16:48:42 -07:00
2026-09-13 05:08:29 -07:00
2026-09-13 05:07:50 -07:00
2026-09-13 05:07:11 -07:00
2026-09-15 06:36:19 -07:00
2026-09-14 21:18:47 +05:30
2026-09-14 19:49:12 +05:30
2026-09-15 03:44:36 -07:00
2026-09-13 05:07:50 -07:00
2026-09-13 05:07:50 -07:00
2026-09-15 18:19:50 -07:00
2026-09-15 04:12:13 -07:00
2026-09-16 00:35:00 -07:00
2026-09-15 18:30:05 -07:00
2026-09-13 05:21:02 -07:00
2026-09-15 18:25:46 -07:00
2026-09-13 05:32:38 -07:00
2026-09-15 04:12:13 -07:00
2026-09-12 08:25:54 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-12 08:25:54 -07:00
2026-09-13 05:08:29 -07:00
2026-09-12 21:47:53 -07:00
2026-09-13 05:21:02 -07:00
2026-09-14 08:10:36 -07:00
2026-09-16 17:58:25 +00:00
2026-09-15 03:53:13 -07:00
2026-09-15 18:55:47 -07:00
2026-09-16 00:32:15 -07:00
2026-09-15 14:52:26 +05:30
2026-09-15 04:12:13 -07:00
2026-09-12 08:34:43 -07:00
2026-09-16 16:42:47 -07:00
2026-09-16 16:42:47 -07:00
2026-09-12 08:25:54 -07:00
2026-09-15 18:30:32 -07:00
2026-09-15 21:57:59 +05:30
2026-09-15 04:11:11 -07:00
2026-09-13 05:08:20 -07:00
2026-09-15 19:28:39 -07:00
2026-09-16 14:34:59 -07:00
2026-09-15 04:13:44 -07:00
2026-09-15 19:28:39 -07:00
2026-09-16 16:55:42 -07:00
2026-09-15 04:12:13 -07:00
2026-09-16 11:06:52 -07:00
2026-09-13 19:19:32 -07:00
2026-09-15 03:40:26 -07:00
2026-09-16 08:57:18 -07:00
2026-09-15 18:48:59 -07:00
2026-09-15 04:37:41 -07:00
2026-09-14 08:10:36 -07:00
2026-09-12 18:35:21 -07:00
2026-09-15 20:44:42 +05:30
2026-09-16 16:44:53 -07:00
2026-09-15 18:54:28 -07:00
2026-09-13 21:30:02 -07:00
2026-09-13 20:55:29 -07:00
2026-09-15 18:27:06 -07:00
2026-09-16 16:43:08 -07:00