[GH-ISSUE #264] Plugin error: wrong user table name with custom tables. #8194

Closed
opened 2026-04-13 03:18:02 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @riipandi on GitHub (Oct 20, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/264

Describe the bug
I'm utilizing a custom table name for the core schemas, specifically changing the user table name to users. However, when attempting to sign in with a username, the process fails with the error message no such table: user.

Additional context
Using Kysely with LibSQL database.

Originally created by @riipandi on GitHub (Oct 20, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/264 **Describe the bug** I'm utilizing a custom table name for the core schemas, specifically changing the user table name to `users`. However, when attempting to sign in with a `username`, the process fails with the error message `no such table: user`. **Additional context** Using Kysely with LibSQL database.
GiteaMirror added the locked label 2026-04-13 03:18:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8194