New Release Causes: `Field user_id not found in model member`
Hello, I updated from better auth 1.2.5 to 1.2.6 and now when I call the following:
I see the following trace:
When reverted back to 1.2.5 and it works fine.
12 Replies
same
bump
taking a look
appreciate it!
could you try
pnpm i https://pkg.pr.new/better-auth/better-auth@2245
yep
works for me
imma clear all cache to be sure
cleared cache and still works
will publish a patch soon
thanks!
of course!
Hey guys, have a problem with a verification table
SERVER_ERROR: Error: Field expires_at not found in model verification
at getDefaultFieldName (file:///app/node_modules/.pnpm/[email protected]/node_modules/better-auth/dist/shared/better-auth.Bz1paiXf.mjs:79:13)
verification: {
modelName: "auth_verifications",
fields: {
expiresAt: "expires_at",
createdAt: "created_at",
updatedAt: "updated_at",
},
},
Its a same bug?
Even in 1.2.5
hm, I have never received that. What operation causes it?
Take a look at your lock file
If you simple updated to 1.2.6 and then downgraded to 1.2.5
Some depencies will be messed up, I guess
try toupgrade
1.2.7-beta.1
and let me know if it is still an issue