Passwords!
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
-- name: CreateUser :one
|
||||
INSERT INTO users (id, created_at, updated_at, email)
|
||||
VALUES (gen_random_uuid(), NOW(), NOW(), $1)
|
||||
INSERT INTO users (id, created_at, updated_at, email, hashed_password)
|
||||
VALUES (gen_random_uuid(), NOW(), NOW(), $1, $2)
|
||||
RETURNING *;
|
||||
Reference in New Issue
Block a user