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))
Само CREATE/ALTER/DROP — без нужда от завършващ SELECT.
Влез, за да видиш историята на решенията
ВходВлез, за да използваш ИИ ментора
Вход