Open MellKam opened 4 months ago
checking that
In case it's helpful:
tablesFilter
is supposed to work, but I also tried tablesFilter: ['!(geography_columns|geometry_columns|spatial_ref_sys)']
and experienced the same issue with drizzle-kit push
.drizzle-kit introspect
is respecting extensionsFilter
for me. It will not include postgis tables in the output if set.drizzle-kit 0.22.1, drizzle-orm 0.31.0
@drwpwrs Yeah, I also tried tablesFilter: ['!(geography_columns|geometry_columns|spatial_ref_sys)']
, but it doesn't really work
having the same issue. Any news regarding this, or any known workaround? thanks
Edit: @MellKam @drwpwrs I found a workaround. in the docs it states that tablesFilter works exactly the opposite way. We have to add all our tables to the tablesFilter and it works as expected:
{
...,
tablesFilter: [users, customers, orders, order_items, ...],
...
}
I tried to use
drizzle-kit push
with new extensionsFilter for postgis, but it still propmts me to delete postgis tablesor thinks that I wanted to rename them