From 757ccac0103541a34d040ef4812b2e7afb9f1f02 Mon Sep 17 00:00:00 2001
From: Freya Murphy <freya@freyacat.org>
Date: Fri, 20 Dec 2024 00:30:08 -0500
Subject: rename admin schema to xssbook

---
 src/db/rest/login/_api_verify_jwt.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/db/rest/login/_api_verify_jwt.sql')

diff --git a/src/db/rest/login/_api_verify_jwt.sql b/src/db/rest/login/_api_verify_jwt.sql
index 9e63cc9..3d47052 100644
--- a/src/db/rest/login/_api_verify_jwt.sql
+++ b/src/db/rest/login/_api_verify_jwt.sql
@@ -31,7 +31,7 @@ BEGIN
 
 	_user_id = _payload->>'user_id';
 
-	UPDATE admin.user
+	UPDATE xssbook.user
 	SET seen = clock_timestamp()
 	WHERE id = _user_id;
 
@@ -43,5 +43,5 @@ GRANT EXECUTE ON FUNCTION _api.verify_jwt(TEXT)
 	TO rest_anon, rest_user;
 GRANT SELECT ON TABLE sys.database_info
 	TO rest_anon, rest_user;
-GRANT UPDATE ON TABLE admin.user
+GRANT UPDATE ON TABLE xssbook.user
 	TO rest_anon, rest_user;
-- 
cgit v1.2.3-freya

