srs-api/src/db/migrations/005_username_nocase.sql
Aswin Biju 61514fb82f
All checks were successful
deploy / test (push) Successful in 1m33s
deploy / deploy (push) Successful in 18s
feat(users): added a wizard to reset a password and supporting services for the srs PWA
2026-11-04 20:44:36 +05:30

3 lines
174 B
SQL

-- Usernames are matched without regard to case at sign-in, so two may not differ only in case.
CREATE UNIQUE INDEX users_username_nocase ON users (username COLLATE NOCASE);