tane/apps/app_seeds/drift_schemas
vjrj 3954c62aa6 feat(db): lot presentation + attachment sort order (schema v4→v5)
Expand LotType from {seed, plant} to six append-only forms (seed,
seedling, plant, tree, bulb, cutting) and add an optional Presentation
attribute (pot/tray/plug/bareRoot/rootBall) kept separate from quantity
so 'how many' and 'in what packaging' never conflate.

Add attachments.sortOrder so the cover photo is the lowest-ordered one,
enabling reordering from the full-screen viewer. Expand QuantityKind
with the new plant-aware forms.

Migrations are additive (v1→v5 all covered by migration_test); enum
values are stored by name and appended only, keeping CRDT sync safe.
2026-07-09 11:51:21 +02:00
..
drift_schema_v1.json feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
drift_schema_v2.json feat(inventory): informal quantity scale (number + unit) + seed/plant lots 2026-07-08 10:51:02 +02:00
drift_schema_v3.json feat(inventory): month/year harvest date picker (schema v3) 2026-07-08 12:09:38 +02:00
drift_schema_v4.json feat(db): lot presentation + attachment sort order (schema v4→v5) 2026-07-09 11:51:21 +02:00
drift_schema_v5.json feat(db): lot presentation + attachment sort order (schema v4→v5) 2026-07-09 11:51:21 +02:00