Walls r1: schema step 8 — typed wall storage, marker_seen, height backfill #53
Notifications
Due Date
No due date set.
Blocks
#54 Walls r1: proto 2 + typed wall record on the wire, inert geometry, derived kind
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#53
Reference in New Issue
Block a user
Part of #52
Goal
One migration step rebuilds
wallinto typed columns with CHECKs, drops legacykind, createsmarker_seenwith the composite FK, and runs adatahook backfillingprops_gm.height=1.8(nevereye_height, never a hand-set height). The world module loads/stores the typed record (SQL literals forheight/label; create the text-literal helper DESIGN §4.4 names, formatting NULL as SQL literal); startup refuses a newer schema; re-open writes nothing.Acceptance criteria
eye_heightabsent; hand-set height untouched.user_version=9refused.LatestVersion8, persistence test schema-8.User stories covered
33, 34, 65, 72, 73
Proven at
Notes
Progress: schema step 8 landed on
maininc1b1e9c(not pushed).wallinto typed columns + CHECKs, drops legacykind, addsmarker_seenwith the composite FK, and runs adatahook backfillingprops_gm.height=1.8(noeye_height, hand-set heights untouched).LatestVersionis 8.world.WallRecnow loads/stores the typed record; nullableheight/labelusesqlLitText/sqlLitRealSQL literals; the wire and sight/movement behaviour are unchanged (proto still 1).user_version=9refusal), plus direct INSERT CHECK tests intests/tdb.nim. Full suites green: 381 Nim tests, 110 node tests.Closed by
c1b1e9c(typed wall storage, marker_seen, height backfill). Build green on clean checkout: 381 Nim / 110 Node tests.