I would like to insert names and other data into t...
# help
t
I would like to insert names and other data into the public/user table when creating an account. Is it possible to implement such a function using a function like the one shown on this page of the Official Reference? Currently, I am using insert() after auth.signup(). https://supabase.com/docs/reference/javascript/auth-signup#sign-up-with-additional-user-meta-data
n
Hello @takumikunn15! 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
If you are using signUp (not signIn) then you can attach custom data and in a trigger function like shown here https://supabase.com/docs/guides/auth/managing-user-data store it from raw_user_metadata to your public table.
n
takumikunn15 (2022-04-21)
t
It was SignUp, I wrote it down wrong. Thank you! I will try it!
n
Thread was archived by @takumikunn15. Anyone can send a message to unarchive it.