Drizzle-adapter ignores additional fields when updating entity
Hi - i am using the drizzle-adapter and added an additional field (clubId) to my user-table.
But, when i try to update my user (set the clubId) the database-field never gets updated.
From what i see in the debug-logs, better-auth recognizes the field but the created sql query just does not include the additional field.
From these logs i assume that better-auth and drizzle know about the additional field.
The created query though just does not include the
club_id field
Query: update "user" set "updated_at" = $1 where "user"."id" = $2 returning "id", "name", "email", "email_verified", "image", "club_id", "created_at", "updated_at" -- params: ["2025-07-09T09:22:06.577Z", "3xhX1mXNO2PImu6fR7GbeCfUd454dDDY"]
Drizzle as well as better-auth also query the clubId from the database and return it:


0 Replies