Use uuid.UUID everywhere and have postgres generate ids
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
-- name: CreateBudget :one
|
||||
INSERT INTO budgets
|
||||
(id, name, last_modification)
|
||||
VALUES ($1, $2, NOW())
|
||||
(name, last_modification)
|
||||
VALUES ($1, NOW())
|
||||
RETURNING *;
|
||||
|
||||
-- name: GetBudgetsForUser :many
|
||||
|
Reference in New Issue
Block a user