Skip to content

Why is the schema name case different in the drizzle adapter? #11325

Answered by k-taro56
myodan asked this question in Help
Discussion options

You must be logged in to vote

Auth.js uses camelCase for its database rows while respecting the conventional snake_case formatting for OAuth-related values. If the mixed casing is an issue for you, most adapters have a dedicated documentation section on how to force a casing convention.

https://authjs.dev/concepts/database-models

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@myodan
Comment options

@adriantilvar
Comment options

@Przeblysk
Comment options

Answer selected by myodan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants