Model "user" was not found in the database schema object with drizzle
even though i clearly defined it:
and it is present in the actual database
Solution:Jump to solution
try this
```database: drizzleAdapter(db, {
provider: "pg",
schema: {
user,...
9 Replies
@aa55h can you share your auth.ts file?
sure
Solution
try this
@aa55h to be clear pass the drizzle schemas here
lmk if it works
Yes one sec
@preAGIcoder it seems like it could work, but can i pass the database url like this:
?
cause now im just getting

oh nvm im stupid i was using wrong driver i guess?
seems like
is it solved?
yes