16 Commits

Author SHA1 Message Date
ed321d3895 Fix income category not being correct for newly created budget 2022-04-07 07:52:06 +00:00
c03d16878a Minimal linting improvements 2022-02-20 21:19:28 +00:00
36b2f12183 Renames 2022-02-20 20:42:27 +00:00
38dfa540b4 Fix issues from golangci 2022-02-15 11:52:06 +00:00
a8bd03a805 Handle circular required keys
Use a dummy-value at first and update it later.
Deferrable doesn't seem to work for NOT NULL - only
for FOREIGN KEYs.
2021-12-14 14:13:23 +00:00
40a299141d Implement new budget with transaction to be able to satisfy not null columns 2021-12-11 20:19:52 +00:00
e9adc763b2 Remove Repository and use Database instead 2021-12-11 20:18:09 +00:00
1d4bc158a8 Improve handling of context 2021-12-07 19:08:53 +00:00
85ef7557c1 Use uuid.UUID everywhere and have postgres generate ids 2021-11-29 21:49:37 +00:00
5de7d32c30 Use goose for migrations 2021-11-08 22:24:21 +00:00
cf1bc70103 Begin migration to sqlc 2021-11-08 21:32:30 +00:00
ddbda095b5 Implement NewBudget in BudgetService 2017-01-19 23:09:56 +01:00
f36fe1b1c0 Use id to load budgets 2016-12-27 00:27:52 +01:00
72fbec1063 Implement BudgetsForUser 2016-12-25 20:20:58 +01:00
57a69c448d Add userbudget 2016-12-20 21:17:17 +01:00
07d5816251 Implement budgetservice.Budget(id) 2016-12-20 20:52:48 +01:00