- normalize username and email fields to lowercase, resolves #1740

- add autoComplete attributes to auth flow for easier sign in/sign up
This commit is contained in:
Amruth Pillai
2025-01-12 15:13:11 +01:00
parent 92856b6f06
commit 89a44cc33a
12 changed files with 36 additions and 19 deletions

View File

@ -0,0 +1,6 @@
-- This migration normalizes the username and email fields for all users,
-- ensuring that they are stored in lowercase.
UPDATE "User"
SET username = LOWER(username),
email = LOWER(email);