DB Function to Insert New Users
Hello,
I would like my DB Function to make a new record in public.userProfiles when a user is added to auth.users
Here is my function and the trigger that calls it. What am I doing wrong? I've never used Postgres or SQL
and the trigger:
I'm using this so that my security rules have a record to check UID against
I would like my DB Function to make a new record in public.userProfiles when a user is added to auth.users
Here is my function and the trigger that calls it. What am I doing wrong? I've never used Postgres or SQL
and the trigger:
I'm using this so that my security rules have a record to check UID against