mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1062 from omnivore-app/fix/integrations-db-permissions-1
Grant permissions of integrations table to omnivore_user
This commit is contained in:
commit
e455d70f0c
2 changed files with 18 additions and 0 deletions
9
packages/db/migrations/0092.do.grant_permissions_to_integrations.sql
Executable file
9
packages/db/migrations/0092.do.grant_permissions_to_integrations.sql
Executable 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;
|
||||
9
packages/db/migrations/0092.undo.grant_permissions_to_integrations.sql
Executable file
9
packages/db/migrations/0092.undo.grant_permissions_to_integrations.sql
Executable 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;
|
||||
Loading…
Reference in a new issue