drizzle-team / drizzle-team/drizzle-orm

`--schemaFilter` CLI flag for `push` is broken

Open
#3,430 2 comments 1 reaction 0 assignees View on GitHub
drizzle/kit improvement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

It seems like currently there's no way to specify the `schemaFilter` property using CLI flags, unlike mentioned in the [docs](https://orm.drizzle.team/kit-docs/commands#prototype--push).

Running `npx drizzle-kit push:pg --schemaFilter=["public"]` and variations of it like `npx drizzle-kit push:pg --schemaFilter=public` all result in `error: unknown option '--schemaFilter=public'`

Edit: Seems like we're not the only ones running into this issue: https://discord.com/channels/1043890932593987624/1144751274852626493/1144751274852626493

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.