**What** - always return an index expression, also for unique constraints **why** - constraints can't be partial, meaning `UNIQUE ... WHERE` is not possible with constraints - constraints are indicies under the hood so it doesn't change the behavior of the system when we're not using constraint specific features but just using them for `UNIQUE`
167 B
167 B
@medusajs/utils
| @medusajs/utils |
|---|
| patch |
feat(utils): make psql index util return index instead of constraint for unique indicies becuase partial constraints don't exist :'(