[GH-ISSUE #741] "token" does not exist in the schema #8405

Closed
opened 2026-04-13 03:28:32 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @productdevbook on GitHub (Dec 3, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/741

Where's the whole shema for Drizzle? I didn't see it in the docs.

 INTERNAL_SERVER_ERROR The field "token" does not exist in the schema for the model "session". Please update your schema.
Originally created by @productdevbook on GitHub (Dec 3, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/741 Where's the whole shema for Drizzle? I didn't see it in the docs. ``` INTERNAL_SERVER_ERROR The field "token" does not exist in the schema for the model "session". Please update your schema. ```
GiteaMirror added the locked label 2026-04-13 03:28:32 -05:00
Author
Owner

@Bekacru commented on GitHub (Dec 3, 2024):

we don't provide drizzle schema in the docs. You either need to generate one using the cli or see the expected schema from the docs

https://www.better-auth.com/docs/concepts/database#session

<!-- gh-comment-id:2514399311 --> @Bekacru commented on GitHub (Dec 3, 2024): we don't provide drizzle schema in the docs. You either need to generate one using the cli or see the expected schema from the docs https://www.better-auth.com/docs/concepts/database#session
Author
Owner

@productdevbook commented on GitHub (Dec 3, 2024):

Thank you ❤️

<!-- gh-comment-id:2514415372 --> @productdevbook commented on GitHub (Dec 3, 2024): Thank you ❤️
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8405