Add custom fileds to the user schema

Hello, I'd like to add custom fields into the user schema better-auth has, I know it's possible but I didn't find documentation for the types, like I'd like to make uuid arrays and stuff.

I'd like to add two fields, a roles field which is an array of strings/text. And a field tenant_ids that is also an array, but of uuids this time. How do I do that, I have zod installed if needed. @Better Auth
Was this page helpful?