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/like/api_like_insert.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/db/rest/like/api_like_insert.sql')

diff --git a/src/db/rest/like/api_like_insert.sql b/src/db/rest/like/api_like_insert.sql
index a02ad4e..1c8bc8a 100644
--- a/src/db/rest/like/api_like_insert.sql
+++ b/src/db/rest/like/api_like_insert.sql
@@ -17,7 +17,7 @@ BEGIN
 
 	NEW.value := COALESCE(NEW.value, TRUE);
 
-	INSERT INTO admin.like (
+	INSERT INTO xssbook.like (
 		user_id,
 		post_id,
 		comment_id,
@@ -39,7 +39,7 @@ GRANT EXECUTE ON FUNCTION _api.like_insert()
 	TO rest_user;
 GRANT INSERT ON TABLE api.like
 	TO rest_user;
-GRANT INSERT ON TABLE admin.like
+GRANT INSERT ON TABLE xssbook.like
 	TO rest_user;
 GRANT UPDATE ON TABLE sys.like_id_seq
 	TO rest_user;
-- 
cgit v1.2.3-freya

