tane/apps/app_seeds/lib/db
vjrj bec0f78fa1 feat(plantare): schema v12 — bilateral signed columns + repo
Adds the deferred bilateral columns to Plantares (plantare-bilateral.md
§"Schema delta"), all nullable/defaulted so v1 local rows coexist
untouched:

- pledgeId (the shared id both parties key their row by), debtorKey /
  creditorKey, debtorSignature / creditorSignature, movementId (the
  shared hand-over Movement for the provenance DAG), remoteState
  (proposed/accepted/declined — the handshake, distinct from status),
  returnKind (similar/workHours/other, default similar) + workHours.

Repo: createPlantare grows optional bilateral params; plantareByPledgeId
looks a row up by the shared id; applyPlantareSignatures counter-stamps
an incoming accept; setPlantareRemoteState records a decline. The
JSON codec carries every new field so they ride backups.

Versioned migration is guarded/idempotent like the others; schema v12
dumped, test helper regenerated, migration test covers v1..v11 → v12.
db + data + services 295/295 green.
2026-07-14 11:21:46 +02:00
..
chat_database.dart feat(chat): usable 1:1 chat — bottom-anchored, Drift-backed, dated 2026-07-11 06:40:50 +02:00
chat_database.g.dart feat(chat): usable 1:1 chat — bottom-anchored, Drift-backed, dated 2026-07-11 06:40:50 +02:00
database.dart feat(plantare): schema v12 — bilateral signed columns + repo 2026-07-14 11:21:46 +02:00
database.g.dart feat(plantare): schema v12 — bilateral signed columns + repo 2026-07-14 11:21:46 +02:00
encrypted_executor.dart fix(db): load bundled SQLCipher on Linux desktop (stop startup segfault) 2026-07-07 23:45:09 +02:00
enums.dart feat(plantare): schema v12 — bilateral signed columns + repo 2026-07-14 11:21:46 +02:00
sync_columns.dart feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
tables.dart feat(plantare): schema v12 — bilateral signed columns + repo 2026-07-14 11:21:46 +02:00