juancwu
|
89c5d76e5e
|
Merge branch 'fix/calculation-accuracy' into main
Deploy / build-and-deploy (push) Successful in 2m37s
Combines the decimal migration (int cents → decimal.Decimal via
shopspring/decimal) with main's handler refactor (split space.go into
domain handlers, WithTx/Paginate helpers, recurring deposit removal).
- Repository layer: WithTx pattern + decimal column names/types
- Handler layer: decimal arithmetic (.Sub/.Add) instead of int operators
- Models: deprecated amount_cents fields kept for SELECT * compatibility
- INSERT statements: old columns set to literal 0 for NOT NULL constraints
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-14 16:48:40 -04:00 |
|