Grant permissions of integrations table to omnivore_user

This commit is contained in:
Hongbo Wu
2022-08-10 11:36:37 +08:00
parent 7b3eb56d33
commit 8f41ce1183
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
-- Type: DO
-- Name: grant_permissions_to_integrations
-- Description: Grant DB permissions to integrations table
BEGIN;
GRANT SELECT, INSERT, UPDATE, DELETE ON omnivore.integrations TO omnivore_user;
COMMIT;

View File

@ -0,0 +1,9 @@
-- Type: UNDO
-- Name: grant_permissions_to_integrations
-- Description: Grant DB permissions to integrations table
BEGIN;
REVOKE SELECT, INSERT, UPDATE, DELETE ON omnivore.integrations FROM omnivore_user;
COMMIT;