Creating trigger on auth.users table with postgres user is problematic #3316
-
I am currently creating all my tables, triggers, functions and views using the Does anyone have a workaround for this that doesn't involve elevating the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@silentworks I can't think of a workaround for this as only the owner of |
Beta Was this translation helpful? Give feedback.
@silentworks I can't think of a workaround for this as only the owner of
auth.users
may alter, drop, disable/enable the trigger. I think your best bet is to elevatepostgres
to superuser, like you mentioned, when creating and dropping triggers in your migration tool.