From a4685927a1f7fe8374a567ee74cc62aad639f4c3 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Mon, 22 Jul 2024 04:36:45 +0900
Subject: user login

---
 backend/query.sql | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'backend/query.sql')

diff --git a/backend/query.sql b/backend/query.sql
index e69de29..bdcd657 100644
--- a/backend/query.sql
+++ b/backend/query.sql
@@ -0,0 +1,4 @@
+-- name: GetUserAuthFromUsername :one
+SELECT * FROM users
+JOIN user_auths ON users.user_id = user_auths.user_id
+WHERE users.username = $1;
-- 
cgit v1.3.1

