Hey, I'm trying to update my public user table whenever the auth table email changes
This is what someone else has tried but doesnt work. Anyone have any ideas?
https://github.com/supabase/supabase/discussions/5421
n
Needle
03/16/2022, 7:49 PM
Hello @NinjaNuur!
This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``.
Pinging @User so that they see this as well!
Want to unsubscribe from this thread?
Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates.
Want to change the title?
Use the
/title
command!
We have solved your problem?
Click the button below to archive it.
g
garyaustin
03/16/2022, 9:20 PM
The code you linked has wrong syntax for an sql update.
Probably something like this:
UPDATE public.profiles SET email = new.email
WHERE id = new.id;
n
Needle
03/16/2022, 9:20 PM
NinjaNuur (2022-03-16)
Needle
03/17/2022, 7:51 PM
Thread was archived by @NinjaNuur. Anyone can send a message to unarchive it.