Better Auth CLI Not Detecting Admin Plugin Schema Changes
I'm having an issue with @better-auth/cli generate not updating my Drizzle schema when I add the admin plugin.
I have the admin plugin configured in my auth setup:
plugins: [admin()]
When I run npx @better-auth/cli generate, it doesn't add the expected fields (role, banned, banReason, etc.) to my existing schema at ./src/lib/server/auth-schema.ts.
Any guidance on the correct workflow for adding plugin fields to an existing Drizzle schema would be appreciated!
0 Replies