mika kuns
9e46c96b24
feat(data): add task numbers schema, allocator, and backfill migration
...
TaskEntity.Number is a global, monotonically increasing, never-reused
integer (displayed as #123 ), allocated from AppSettingsEntity.NextTaskNumber
via a single UPDATE...RETURNING statement rather than MAX(number)+1, which
would reissue a deleted task's number. Both insert paths (TaskRepository.
AddAsync and CreateChildAsync) route through the new TaskNumberAllocator,
with a bounded retry on a unique-index collision. One migration adds the
columns, backfills existing rows in creation order, and creates the unique
index afterwards. Data-layer only; MCP/UI wiring is later slices.
2026-08-11 10:49:06 +02:00
..
2026-04-24 11:12:27 +02:00
2026-06-01 13:15:25 +02:00
2026-04-24 11:12:27 +02:00
2026-06-01 13:15:25 +02:00
2026-04-24 11:12:27 +02:00
2026-06-01 13:15:25 +02:00
2026-04-24 11:12:27 +02:00
2026-06-01 13:15:25 +02:00
2026-04-24 11:12:27 +02:00
2026-06-01 13:15:25 +02:00
2026-04-25 09:35:15 +02:00
2026-06-01 13:15:25 +02:00
2026-04-27 10:25:53 +02:00
2026-06-01 13:15:25 +02:00
2026-04-27 15:28:55 +02:00
2026-06-01 13:15:25 +02:00
2026-04-28 08:50:38 +02:00
2026-04-28 08:50:38 +02:00
2026-05-19 08:07:24 +02:00
2026-06-01 13:15:25 +02:00
2026-05-29 16:29:22 +02:00
2026-06-01 13:15:25 +02:00
2026-06-01 15:28:17 +02:00
2026-06-01 15:28:17 +02:00
2026-06-01 15:51:12 +02:00
2026-06-01 15:51:12 +02:00
2026-06-01 16:06:59 +02:00
2026-06-01 16:06:59 +02:00
2026-06-01 17:08:33 +02:00
2026-06-01 17:08:33 +02:00
2026-06-02 16:12:08 +02:00
2026-06-02 16:12:08 +02:00
2026-06-03 09:28:50 +02:00
2026-06-03 09:28:50 +02:00
2026-06-03 16:11:30 +02:00
2026-06-03 16:11:30 +02:00
2026-06-04 12:15:15 +02:00
2026-06-04 12:15:15 +02:00
2026-06-04 14:58:59 +02:00
2026-06-04 14:58:59 +02:00
2026-06-09 10:15:42 +02:00
2026-06-09 10:15:42 +02:00
2026-06-26 16:11:48 +02:00
2026-06-26 16:11:48 +02:00
2026-07-23 16:47:14 +02:00
2026-07-23 16:47:14 +02:00
2026-07-27 15:02:51 +02:00
2026-07-27 15:02:51 +02:00
2026-08-05 09:16:34 +02:00
2026-08-05 09:16:34 +02:00
2026-08-05 09:51:42 +02:00
2026-08-05 09:51:42 +02:00
2026-08-05 11:19:22 +02:00
2026-08-05 11:19:22 +02:00
2026-08-05 11:46:51 +02:00
2026-08-05 11:46:51 +02:00
2026-08-05 15:40:02 +02:00
2026-08-05 15:40:02 +02:00
2026-08-05 15:44:20 +02:00
2026-08-05 15:44:20 +02:00
2026-08-05 15:53:15 +02:00
2026-08-05 15:53:15 +02:00
2026-08-06 13:27:52 +02:00
2026-08-06 13:27:52 +02:00
2026-08-07 11:01:45 +02:00
2026-08-07 11:01:45 +02:00
2026-08-10 10:06:50 +02:00
2026-08-10 10:06:50 +02:00
2026-08-10 13:41:38 +02:00
2026-08-10 13:41:38 +02:00
2026-08-10 14:18:55 +02:00
2026-08-10 17:00:24 +02:00
2026-08-10 14:20:00 +02:00
2026-08-10 14:20:00 +02:00
2026-08-11 10:49:06 +02:00
2026-08-11 10:49:06 +02:00
2026-08-11 10:49:06 +02:00