Skip to content

Commit

Permalink
Merge pull request #648 from josenavas/updating-scrub
Browse files Browse the repository at this point in the history
Lowering the emails
  • Loading branch information
wasade authored Mar 29, 2017
2 parents caf8a98 + 992daa9 commit 8c8023b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified amgut/db/ag_test_patch_39_20170321.dump
Binary file not shown.
2 changes: 1 addition & 1 deletion amgut/db/scrub.sql
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ BEGIN
(retrieve_chars('participant_email', 'ag.ag_human_survey')),
(retrieve_chars('email', 'ag.ag_login'));
emailsource := retrieve_chars('source', 'allsources');
emailsource := replace(replace(replace(replace(replace(emailsource, '@', ''), '.', ''), ' ', ''), '!', ''), ',', '');
emailsource := lower(replace(replace(replace(replace(replace(emailsource, '@', ''), '.', ''), ' ', ''), '!', ''), ',', ''));

RAISE NOTICE 'STEP % of %: Scrubbing ag_survey_multiples_backup', currstep, numsteps;
currstep := currstep + 1;
Expand Down

0 comments on commit 8c8023b

Please sign in to comment.