Skip to content

Commit

Permalink
Issue #113: Canonicalize existing e-mail addresses.
Browse files Browse the repository at this point in the history
  • Loading branch information
haumacher committed Dec 30, 2024
1 parent 4573b99 commit 42e49e4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ ALTER TABLE USERS ADD GOOGLEID CHARACTER VARYING(64);
UPDATE USERS SET GOOGLEID = EXTID WHERE CLIENTNAME = 'Google2Client';

ALTER TABLE USERS ALTER COLUMN EXTID VARCHAR_IGNORECASE(64) NULL;
ALTER TABLE USERS ALTER COLUMN CLIENTNAME VARCHAR_IGNORECASE(64) NULL;
ALTER TABLE USERS ALTER COLUMN CLIENTNAME VARCHAR_IGNORECASE(64) NULL;

UPDATE USERS SET EMAIL = LOWER(EMAIL);

0 comments on commit 42e49e4

Please sign in to comment.