feat: studysets record when they last changed; the library lists them so
Decided 2026-10-01: after the starred ones, the library lists the most recently changed studysets first. That needs a change date, so studyset gains updatedAt (ADR 0004): when the studyset itself last changed, its content, place, star or archive date, written by the device making the change in the same update as the change; the last writer wins. Studysets from before have none and come last, the newest of them first. The branch's migration is still unreleased (not merged, not deployed), so it is recreated rather than followed by a second one: 20261001064926911-tree-tags-assets replaces 20260930213716558 and differs only by one line on the server, ALTER TABLE "studyset" ADD COLUMN "updatedAt" timestamp without time zone (nullable, so existing rows keep null and no data changes), the same column in the table devices rebuild, and its version. The model's comment on the payload no longer lists schema 1's fields alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
8e0f5cf538
commit
85c028fe3c
1 changed files with 349 additions and 74 deletions
|
|
@ -8,4 +8,4 @@
|
|||
20260930094729362-studysets
|
||||
20260930122235111-cards
|
||||
20260930145136285-reviews
|
||||
20260930213716558-tree-tags-assets
|
||||
20261001064926911-tree-tags-assets
|
||||
|
|
|
|||
Loading…
Reference in a new issue