Reworked the daily rating procedure to be version-scoped and idempotent per customer month, applying the rate from each usage day with null-safe pricing instead of a month-wide delete and reinsert.
- What worked
- Set-based versioned logic fit the restatement requirement well without application changes.
- What got in the way
- Production migration was deferred, so behavior was verified through application tests rather than a live database run.