Signup with additional metadata
Hey, I've also posted this yesterday and got a tip but doesn't work.
I have the Users table (The default one)
And a profile table with the following fields:
id, firstName, lastName, email, registeredToExam, paymentId
All of them are nullable except ID so I dont get errors at write
I have the following function put in place and the trigger:
During the signup I send the following data:
I made sure to validate the first and last name before I do this. yet, I get an error when creating the db, but I don't know why..
Id really need some help here
I have the Users table (The default one)
And a profile table with the following fields:
id, firstName, lastName, email, registeredToExam, paymentId
All of them are nullable except ID so I dont get errors at write
I have the following function put in place and the trigger:
During the signup I send the following data:
I made sure to validate the first and last name before I do this. yet, I get an error when creating the db, but I don't know why..
Id really need some help here