trying to edit a supabase function with dbeaver

Hi, I'm trying to edit/save a function with DBeaver. The function was created with supabase web dashboard, for a trigger(copy user from
auth.users
to public.users), but when I'm trying to save it, I get this error
ERROR: must be owner of function add_user
. I'm guessing that it has to do with the roles, but I have no idea what to tweak.
Was this page helpful?