alby-hub/db
Adithya Vardhan 3aa167a7c4
fix: add err handling to db queries (#2064)
* fix: add err handling to db queries

* chore: add error handling to GetApp

* chore: wrap the original error

* fix: retrieve balance after err != nil check

* chore: minor code cleanup

* chore: add error handling to app permission listing in GetApp

* chore: convert GetBudgetUsageSat to GetBudgetUsage

* chore: add tests for GetBudgetUsage

* chore: separate budget window tests

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2026-02-27 16:31:25 +07:00
..
migrations chore: speed up slow list transactions query by adding updated at index (#1681) 2025-09-03 13:05:02 +05:30
queries fix: add err handling to db queries (#2064) 2026-02-27 16:31:25 +07:00
sqlite-wrapper Fix: sqlite connection parameters, add migrations to delete orphaned records and change postgres transaction amount to bigint (#1462) 2025-07-06 17:45:46 +07:00
test Fix: sqlite connection parameters, add migrations to delete orphaned records and change postgres transaction amount to bigint (#1462) 2025-07-06 17:45:46 +07:00
db.go Fix: sqlite connection parameters, add migrations to delete orphaned records and change postgres transaction amount to bigint (#1462) 2025-07-06 17:45:46 +07:00
models.go feat: track forwards to display on a home page widget (#1623) 2025-08-21 16:39:03 +05:30