Email does not exist on user table
I'm having problems signing users up. I keep getting email does not exist on users table even though I have it set up.
3 Replies
I ran the migrations and can even see the email field when I open drizzle studio on the users table
remove your fields config. Better Auth doesn't interact with the db directly if you're using drizzle adapter. so
emailVerified
is still db.emailVerified
not db.["email_verified"]
Still getting same error.
The field "email" does not exist in the schema for the model "user". Please update your schema