budgit/internal/model
juancwu 89c5d76e5e
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m37s
Merge branch 'fix/calculation-accuracy' into main
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
..
budget.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
expense.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
file.go add expenses management 2026-01-14 20:40:36 +00:00
invitation.go add invite to space feature 2026-01-14 21:11:16 +00:00
loan.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
money.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
money_account.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
payment_method.go feat: payment methods 2026-02-13 21:55:10 +00:00
profile.go feat: set timezone user level 2026-03-03 12:29:41 +00:00
receipt.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
recurring_expense.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
recurring_receipt.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
report.go chore: replace int amount_cents for string storage and decimal pkg 2026-03-14 14:43:39 -04:00
shopping_list.go feat: link shopping list items 2026-02-07 19:03:26 +00:00
space.go feat: set timezone space level 2026-03-03 15:34:52 +00:00
tag.go add shopping list and tag management 2026-01-14 18:19:13 +00:00
token.go add expenses management 2026-01-14 20:40:36 +00:00
user.go add expenses management 2026-01-14 20:40:36 +00:00