How to save custom fields (like address) in my database when admin creates a User?
I’m using the admin Plugin to create users. When an admin create a user, I need to save address data in my own database table (Address model).
i tried to add the address field the data
My Prisma Schema:
3 Replies
have you tried this?
https://www.better-auth.com/docs/concepts/database#extending-core-schema
Database | Better Auth
Learn how to use a database with Better Auth.
yes but i think this is only for users who register manually
@Patrick pass
data
