3 Replies
the only alternative is to have a
lowerUsername
column which is fine but I shouldn't have to.Feel like if you do
sql.raw("users_lower_username_uidx")
it might work
How did you create this index?target only takes
IndexColumn | IndexColumn[]
and i used uniqueIndex
which is not a compatible type