Error: column "displayUsername" of relation "users" does not exist in better-auth 1.3.6
- I am getting the following error when I try to update a username in better-auth from a sveltekit client
Cannot post full question here due to discord limitations
BUT HERE IS THE FULL QUESTION
Stack Overflow
Error: column "displayUsername" of relation "users" does not exist ...
I am getting the following error when I try to update a username in better-auth from a sveltekit client
SERVER_ERROR: error: column "displayUsername" of relation "users" doe...
7 Replies
-sveltekit client package.json
- express server package.json
- oh shit wait a second, they are not using the same dependency on both sides, damn! let me test updating it on the server side and see if i still get the issue
congratulations people, the error message has changed
- Upgraded both sveltekit frontend and express backend to use better-auth 1.3.7, still getting the same error
accounts table

sessions table

users table

verifications table

displayName: "display_name" is clearly mapped to the config in src/lib/auth.ts
you cant say the column doesnt exist when infact it does
what am I supposed to do?
i dont want to rename the postgres column displayUsername because that is against postgres naming conventions using uppercase letters like that
i am already using the latest version of better-auth 1.3.7
anyone knows how to PATCH THE PLUGIN?
