kinda working

This commit is contained in:
wagslane
2023-05-30 21:28:23 -06:00
parent 7d1852d380
commit 80ec635705
91 changed files with 13103 additions and 2 deletions

14
sql/queries/users.sql Normal file
View File

@@ -0,0 +1,14 @@
-- name: CreateUser :exec
INSERT INTO users (id, created_at, updated_at, name, api_key)
VALUES (
?,
?,
?,
?,
?
);
--
-- name: GetUserByAPIKey :one
SELECT * FROM users WHERE api_key = ?;
--