Case-Insensitive Login
The login form searches by email regardless of letter case, and a plain index on email does not support that pattern. Create an index on the normalized email value used by login.
Speed this query up with an index
CREATE INDEX ix_users_lower_email ON users (lower(email))
Just CREATE/ALTER/DROP — no trailing SELECT needed.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in