ZeroKnight / ZeroBot

My personal IRC/Multi-protocol Bot created (and re-created) for education and amusement.
MIT License
1 stars 0 forks source link

Participant names should be case insensitive #39

Closed ZeroKnight closed 10 months ago

ZeroKnight commented 11 months ago

In most cases, participants will be searched for case-insensitively, so the column should be redefined to include COLLATE NOCASE. This should also create a "case-insensitive" index as well, which is good. See this question for more information.

Better yet, maybe create a custom collation that leverages Python's case-folding. Then we shouldn't run into the non-ASCII value issues that the built-in NOCASE does.