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

(limited to 'src/db/rest/post/api_post_insert.sql')

diff --git a/src/db/rest/post/api_post_insert.sql b/src/db/rest/post/api_post_insert.sql
index e0594dc..c71eb01 100644
--- a/src/db/rest/post/api_post_insert.sql
+++ b/src/db/rest/post/api_post_insert.sql
@@ -16,7 +16,7 @@ BEGIN
 		_max => 4096
 	);
 
-	INSERT INTO admin.post (
+	INSERT INTO xssbook.post (
 		user_id,
 		content
 	) VALUES (
@@ -34,7 +34,7 @@ GRANT EXECUTE ON FUNCTION _api.post_insert()
 	TO rest_user;
 GRANT INSERT ON TABLE api.post
 	TO rest_user;
-GRANT INSERT ON TABLE admin.post
+GRANT INSERT ON TABLE xssbook.post
 	TO rest_user;
 GRANT UPDATE ON TABLE sys.post_id_seq
 	TO rest_user;
-- 
cgit v1.2.3-freya

