Search user by case-insensitive username

Im using heroicCloud witch cocroachDb, and would like to made users username works case-insensitives.
For example, when you invite friend to game by username, you don’t need to remember chars sensitivity.
Also users can create similar names to each other with only 1 letter different by case.

I’ve found on cocrachDB docs that I can alter username column collation in DB.

When I change username collation to

COLLATE "en-US-u-ks-level2"

everything works as intended. Only console username search is broken. Shows error.
Is it safe to use this? Or there is any other workaround?