PostgresError: unrecognized configuration parameter "schema"

Hi everyone. I'm migrating a pretty large app from Prisma to Drizzle and its been great so far, but I'm having problems with my seed script:
const client = postgres(DATABASE_URL!, { max: 1 })
const db = drizzle(client, { schema })
const client = postgres(DATABASE_URL!, { max: 1 })
const db = drizzle(client, { schema })
When I run it it says: PostgresError: unrecognized configuration parameter "schema" The schema object is a re-export of all database models
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server