How to edit a trigger

I was following the auth instructions https://supabase.com/docs/guides/auth/managing-user-data#using-triggers and have ended up registering a trigger public.handle_new_user. But there is a bug in it and I need to change it. I cannot work out what I need to do and have tried to submit various versions of

drop trigger "public.handle_new_user" on "auth";
create function public.handle_new_user()
Securing your user data with Row Level Security.
Was this page helpful?