How to set opclass for index with custom sql column
we do have following definitions, after we used
drizzle-kit pull
Now the issue is that, drizzle-kit generate
thinks it needs to drop the index and recreates it, because it doesn't understand that the opclass is optional.
This is the initial state from introspection
This is what drizzle generates as a migration
I know for other columns we can use .op('text_ops')
, but that doesn't work for the custom index column with sql
?0 Replies