Skip to content

Creating trigger on auth.users table with postgres user is problematic #3316

Answered by w3b6x9
silentworks asked this question in Questions
Discussion options

You must be logged in to vote

@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 elevate postgres to superuser, like you mentioned, when creating and dropping triggers in your migration tool.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@silentworks
Comment options

@silentworks
Comment options

@w3b6x9
Comment options

@ramonbrugman
Comment options

@silentworks
Comment options

Answer selected by silentworks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth All thing Supabase Auth related
3 participants