mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove the update permission on the link_labels table
This was added mistakenly and isn't needed.
This commit is contained in:
parent
857df99654
commit
d260ad4def
2 changed files with 18 additions and 0 deletions
9
packages/db/migrations/0079.do.rm_update_permission_on_link_labels.sql
Executable file
9
packages/db/migrations/0079.do.rm_update_permission_on_link_labels.sql
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
-- Type: DO
|
||||
-- Name: rm_update_permission_on_link_labels
|
||||
-- Description: Remove unneeded update permission on the link_labels table
|
||||
|
||||
BEGIN;
|
||||
|
||||
REVOKE UPDATE ON omnivore.link_labels FROM omnivore_user;
|
||||
|
||||
COMMIT;
|
||||
9
packages/db/migrations/0079.undo.rm_update_permission_on_link_labels.sql
Executable file
9
packages/db/migrations/0079.undo.rm_update_permission_on_link_labels.sql
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
-- Type: UNDO
|
||||
-- Name: rm_update_permission_on_link_labels
|
||||
-- Description: Remove unneeded update permission on the link_labels table
|
||||
|
||||
BEGIN;
|
||||
|
||||
GRANT UPDATE ON omnivore.link_labels TO omnivore_user;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Reference in a new issue