diff options
Diffstat (limited to 'src/db/rest/post/api_post_insert.sql')
-rw-r--r-- | src/db/rest/post/api_post_insert.sql | 4 |
1 files changed, 2 insertions, 2 deletions
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; |