Improve available balance and show overspent last month #54

Merged
jacob1123 merged 5 commits from available-balance into master 2022-04-24 21:23:18 +02:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit b812b19b34 - Show all commits

View File

@ -11,10 +11,10 @@ RETURNING id;
-- name: UpdateTransaction :exec
UPDATE transactions
SET date = $1,
memo = $2,
amount = $3,
payee_id = $4,
category_id = $5
memo = $2,
amount = $3,
payee_id = $4,
category_id = $5
WHERE id = $6;
-- name: SetTransactionReconciled :exec

View File

@ -294,10 +294,10 @@ func (q *Queries) SetTransactionReconciled(ctx context.Context, id uuid.UUID) er
const updateTransaction = `-- name: UpdateTransaction :exec
UPDATE transactions
SET date = $1,
memo = $2,
amount = $3,
payee_id = $4,
category_id = $5
memo = $2,
amount = $3,
payee_id = $4,
category_id = $5
WHERE id = $6
`