© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago
dohn

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"
PostgresError: unrecognized configuration parameter "schema"


The
schema
schema
object is a re-export of all database models
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

PostgresError: unrecognized configuration parameter "schema" when creating client for postgres-js
Drizzle TeamDTDrizzle Team / help
3y ago
unrecognized_keys
Drizzle TeamDTDrizzle Team / help
3y ago
drizzle-kit introspect schemaFilters parameter ignored
Drizzle TeamDTDrizzle Team / help
15mo ago
PostgresError: Relation X does not exist - After reorganizing schema
Drizzle TeamDTDrizzle Team / help
3y ago