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 Jan 1, 2025
1 parent 5929d3c commit 85a2b13
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 85a2b13

Please sign in to comment.