How to specify a composite constraint/index with `nulls not distinct` and a function for a col?
Hi
What I would like to do is something like:
But then the column
So I thought to do just an index instead:
but there nulls not distinct is not available
So my current workaround is:
which is basically me tricking drizzle kit by sql injecting the correct syntax.
Note: I'm currently on beta with the legacy relations. But afaik defining indexes and constraints hasn't changed.
What I would like to do is something like:
But then the column
lower(label) is just completely omitted by drizzle-kit push:So I thought to do just an index instead:
but there nulls not distinct is not available
So my current workaround is:
which is basically me tricking drizzle kit by sql injecting the correct syntax.
Note: I'm currently on beta with the legacy relations. But afaik defining indexes and constraints hasn't changed.