Files
omnivore/packages/db/migrations/0086.undo.grant_delete_on_user_table.sql
2022-07-13 16:06:40 +08:00

10 lines
214 B
PL/PgSQL
Executable File

-- Type: UNDO
-- Name: grant_delete_on_user_table
-- Description: Allows the Omnivore User to delete themselves (for delete account app feature)
BEGIN;
REVOKE DELETE ON omnivore.user FROM omnivore_user;
COMMIT;