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 have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
A feature where we can add where clause on indexes meaning I should be able to add a unique constraint on only those columns where is_archived_at column is not null.
Feature hasn't been suggested before.
Describe the enhancement you want to request
A feature where we can add where clause on indexes meaning I should be able to add a unique constraint on only those columns where is_archived_at column is not null.
Something like this
unique().on(
table.squadNo,
table.startTime,
table.courseSlug,
table.facilitator,
).where((table) => table.isArchivedAt !== null)
The text was updated successfully, but these errors were encountered: