tane/apps/app_seeds/drift_schemas
vjrj 1103b6ce15 feat(offers): asking price on lots, published with sale offers (schema v11)
The data model always meant sale offers to carry an informational price
(data-model §2.8, sharing-model §4.4); with offer state collapsed onto
the Lot, the price lives there. Null amount on a sell lot = 'to be
agreed' — the NIP-99 event simply omits the price tag.

- schema v11: Lots.price_amount/price_currency, guarded migration,
  schema dump + generated schema_v11 for the round-trip test
- ShareableLot/VarietyLot carry the price (sell-only in shareableLots);
  addLot/updateLot persist it and clear it when the lot leaves sale
- OffersCubit.publishLots forwards it (outbox flush picks it up free)
- lot sheet: price + currency inputs revealed only on 'For sale', with
  the €/Ğ1/hours quick-picks extracted to a shared CurrencyQuickPicks
  widget (reused by the sale sheet)
- backup JSON round-trips the new columns
- i18n share.price/priceHint in en/es/pt/ast
2026-07-11 08:00:08 +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
drift_schema_v6.json feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
drift_schema_v7.json feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
drift_schema_v8.json feat(inventory): photo-first drafts + on-device OCR (digitization R2+R4) 2026-07-09 21:23:46 +02:00
drift_schema_v9.json feat(plantare): reproduction-commitment data layer (schema v9) 2026-07-11 02:01:25 +02:00
drift_schema_v10.json feat(sales): local sales/purchase ledger (any currency) 2026-07-11 02:33:42 +02:00
drift_schema_v11.json feat(offers): asking price on lots, published with sale offers (schema v11) 2026-07-11 08:00:08 +02:00