Use goose for migrations

This commit is contained in:
2021-11-08 22:24:21 +00:00
parent cf1bc70103
commit 5de7d32c30
25 changed files with 134 additions and 145 deletions

View File

@@ -0,0 +1,5 @@
-- name: LinkBudgetToUser :one
INSERT INTO user_budgets
(user_id, budget_id)
VALUES ($1, $2)
RETURNING *;