© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
1 reply
koty6998

Unknown option schemaFilter for drizzle-kit introspect

The documentation https://orm.drizzle.team/kit-docs/commands#introspect--pull states that there is a schemaFilter option to specify the database schema parameter.

I have installed the newest drizzle-kit:

drizzle-kit --version
drizzle-kit: v0.19.13
drizzle-orm: v0.28.5
drizzle-kit --version
drizzle-kit: v0.19.13
drizzle-orm: v0.28.5


Trying to use drizzle-kit to generate a schema fails:

drizzle-kit introspect:pg --out=migrations/ --connectionString='postgresql://postgres:postgres@localhost:54322/postgres' --driver=pg --schemaFilter=auth
drizzle-kit introspect:pg --out=migrations/ --connectionString='postgresql://postgres:postgres@localhost:54322/postgres' --driver=pg --schemaFilter=auth


with an error:

error: unknown option '--schemaFilter=auth'
error: unknown option '--schemaFilter=auth'


How to specify the database schema (here Postgresql) from which Typescript schema should be generated?
List of commands – DrizzleORM
Drizzle ORM | %s
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

schemaFilter/tableFilter for drizzle-kit generate
Drizzle TeamDTDrizzle Team / help
5mo ago
drizzle-kit introspect reorder tables
Drizzle TeamDTDrizzle Team / help
3y ago
unknown command: drizzle-kit
Drizzle TeamDTDrizzle Team / help
3y ago
drizzle-kit introspect schemaFilters parameter ignored
Drizzle TeamDTDrizzle Team / help
15mo ago