Files
GearBox/drizzle/meta/_journal.json
Jean-Luc Makiola f01d71d6b4 feat(11-01): schema, service, and tests for sort_order + reorderCandidates
- Add sortOrder REAL column to threadCandidates schema (default 0)
- Add sort_order column to test helper CREATE TABLE
- Add reorderCandidatesSchema to shared/schemas.ts
- Add ReorderCandidates type to shared/types.ts
- getThreadWithCandidates now orders candidates by sort_order ASC
- createCandidate appends at max sort_order + 1000 (first = 1000)
- Add reorderCandidates service function (transaction, active-only guard)
- Add 5 new tests: ordering, appending, reorder success, resolved guard, missing thread
2026-03-16 22:21:42 +01:00

48 lines
916 B
JSON

{
"version": "7",
"dialect": "sqlite",
"entries": [
{
"idx": 0,
"version": "6",
"when": 1773589489626,
"tag": "0000_bitter_luckman",
"breakpoints": true
},
{
"idx": 1,
"version": "6",
"when": 1773593102000,
"tag": "0001_rename_emoji_to_icon",
"breakpoints": true
},
{
"idx": 2,
"version": "6",
"when": 1773666521689,
"tag": "0002_broken_roughhouse",
"breakpoints": true
},
{
"idx": 3,
"version": "6",
"when": 1773670263013,
"tag": "0003_misty_mongu",
"breakpoints": true
},
{
"idx": 4,
"version": "6",
"when": 1773693113029,
"tag": "0004_soft_synch",
"breakpoints": true
},
{
"idx": 5,
"version": "6",
"when": 1773696058992,
"tag": "0005_clear_micromax",
"breakpoints": true
}
]
}