lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
9.18k stars 466 forks source link

[Docs]: Postgres user database #1618

Closed cybercoder-naj closed 3 months ago

cybercoder-naj commented 3 months ago

Description

image

The issue and image are about this page in the documentation. As supported by my code as well, it seems that the types force the user to have a "user" database with only 1 column, i.e. text('id').primaryKey(). The DrizzlePostgreSQLAdapter doesn't seem to accept any other kind of database.

I am required to store the name, age, email, and hashed_password in the user database but I don't seem that I can. Am i understanding this the wrong way?

cybercoder-naj commented 3 months ago

Nevermind.. I made an error with the types in my reproduction.