You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally thought this was a drizzle-orm bug and you can read about the details, tests, and fix (documentation) in that issue drizzle-team/drizzle-orm#3958.
Is there any context that might help us understand?
What is the improvement or update you wish to see?
The Postgres schema document here shows appling unique constraints like this.
However, the implementation for drizzle and the documentation as changed. It instead of using array notation
[]
it should use object notation{}
.I originally thought this was a drizzle-orm bug and you can read about the details, tests, and fix (documentation) in that issue drizzle-team/drizzle-orm#3958.
Is there any context that might help us understand?
The drizzle-team/drizzle-orm#3958 issue is very thorough.
Does the docs page already exist? Please link to it.
https://orm.drizzle.team/docs/indexes-constraints#indexes
The text was updated successfully, but these errors were encountered: