Removing name from user table

I don't want to have the name in user table I want to replace it with firstName and lastName how can I do ?
2 Replies
nikatune
nikatune2mo ago
you cant remove any column on core schema ( afaik ) but you can add a database hook and additional fields for handling firstName and lastName ( for sign in/up ) https://www.better-auth.com/docs/concepts/typescript#additional-fields
TypeScript | Better Auth
Better Auth TypeScript integration.
Voltab
VoltabOP2mo ago
great thanks !

Did you find this page helpful?