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 })


When I run it it says: PostgresError: unrecognized configuration parameter "schema"

The schema object is a re-export of all database models
Was this page helpful?