mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
coderd: treat email case insensitively (#4215)
This commit is contained in:
1
coderd/database/migrations/000054_email_case.up.sql
Normal file
1
coderd/database/migrations/000054_email_case.up.sql
Normal file
@ -0,0 +1 @@
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS users_email_lower_idx ON users USING btree (lower(email)) WHERE (deleted = false);
|
Reference in New Issue
Block a user