"token" does not exist in the schema #322

Closed
opened 2026-03-13 07:41:47 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @productdevbook on GitHub (Dec 3, 2024).

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). 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. ```
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

@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 ❤️

@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#322