Expose repricing as a static so a backfill can reuse it

Refactorkamo-shared-library
Shipped
September 2, 2026 at 3:45 PM UTC
Author
Kamo
Commit
a826f3b

Quote money columns are written, not computed on read, so an engine correction leaves existing rows carrying the old arithmetic until something saves them. A migration that fixes that must reprice through THIS code — a backfill with its own copy of the money rules is a second source of truth, and the two drift the moment either is touched. recalculate now delegates; behaviour is unchanged.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing