From 2385e1832fa0acc98fd285453701d5e829670955 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Wed, 31 Jul 2024 01:35:29 +0900
Subject: feat: implement /admin/users page

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

(limited to 'backend/query.sql')

diff --git a/backend/query.sql b/backend/query.sql
index b2ad2c4..ca2095c 100644
--- a/backend/query.sql
+++ b/backend/query.sql
@@ -3,6 +3,9 @@ SELECT * FROM users
 WHERE users.user_id = $1
 LIMIT 1;
 
+-- name: ListUsers :many
+SELECT * FROM users;
+
 -- name: GetUserAuthByUsername :one
 SELECT * FROM users
 JOIN user_auths ON users.user_id = user_auths.user_id
-- 
cgit v1.3.1

