-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
db/postgresdrizzle/kitenhancementNew feature or requestNew feature or requestpriorityWill be worked on nextWill be worked on next
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
It would be nice if one should be able to filter tables by schema, when choosing the tables that will be managed by drizzle-kit push
or drizzle-kit pull
.
For instance, my project uses Supabase and I need to manage all the tables inside public schema, but also only the objects
table inside storage
schema (reason: to apply and manage access control policies).
If i do schemaFilter: ["public", "storage"]
on drizzle.config.ts
, when I call npx drizzle-kit push
Drizzle wants to drop all other tables inside storage
schema, since I'm not defining / managing them inside my code.
And using only the tablesFilter
would be a pain, since I would have to check the list of filtered tables every time I change my database schema.
nyates42 and ivanfeli
Metadata
Metadata
Assignees
Labels
db/postgresdrizzle/kitenhancementNew feature or requestNew feature or requestpriorityWill be worked on nextWill be worked on next