Hey Folks! Is it possible to add new columns to th...
# help
j
Hey Folks! Is it possible to add new columns to the auth user table in supabase? Ideally, i'd like to add a column for the users role.
b
It's not recommended to directly alter the auth.users table since it might change as supabase changes their system
The recommended approach is to create a new users table to store your own additions, with a foreign key reference to
auth.users
j
Thanks for that @User . So whilst it is possible to edit the auth.users table, it might lead to problems later. I'll follow your advice 🙂
b
Hey, I am unsure how or where to reference auth.users. Would that then reference the entire auth.users table?