error when inserting new user trigger
i get
it worked fine before but weirdly doesnt now, am assuming the new.id is correct way of saving the users id but maybe i should use auth.uid() ? or does that not exist yet
insert or update on table \"users\" violates foreign key constraint \"users_id_fkey\" error when signing up and my trigger inserting a new row for the user, the function looks like this:it worked fine before but weirdly doesnt now, am assuming the new.id is correct way of saving the users id but maybe i should use auth.uid() ? or does that not exist yet