https://supabase.com/ logo
#help
Title
# help
x

Xzeta

10/18/2021, 2:50 AM
so created the profile table from the template. would u create a user profile after user confirms account or after user registers
s

silentworks

10/18/2021, 11:16 AM
This is up to you the developer, I tend to create it as soon as they register using a trigger and a function
x

Xzeta

10/18/2021, 1:49 PM
using trigger and function?
how would u set it up
x

Xzeta

10/19/2021, 2:51 PM
is there a way to pass in a random generated username to profile
s

silentworks

10/19/2021, 3:36 PM
Combine it with https://dba.stackexchange.com/a/246467 and you can get a unique generated random username