Use goose for migrations
This commit is contained in:
5
postgres/queries/user_budgets.sql
Normal file
5
postgres/queries/user_budgets.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- name: LinkBudgetToUser :one
|
||||
INSERT INTO user_budgets
|
||||
(user_id, budget_id)
|
||||
VALUES ($1, $2)
|
||||
RETURNING *;
|
Reference in New Issue
Block a user