Index: branches/5.2.x/core/install/upgrades.sql
===================================================================
diff -u -N -r16645 -r16748
--- branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 16645)
+++ branches/5.2.x/core/install/upgrades.sql	(.../upgrades.sql)	(revision 16748)
@@ -2956,3 +2956,5 @@
 # ===== v 5.2.2-B3 =====
 INSERT INTO SearchConfig VALUES ('Categories', 'PageContent', 1, 1, 'lu_fielddesc_category_PageContent', 'lc_field_PageContent', 'In-Portal', 'la_text_category', 22, DEFAULT, 1, 'text', 'MULTI:PageRevisions.PageContent', '{ForeignTable}.PageId = {LocalTable}.CategoryId AND {ForeignTable}.RevisionNumber = {LocalTable}.LiveRevisionNumber', NULL, NULL, NULL, NULL, NULL);
 ALTER TABLE Semaphores CHANGE MainIDs MainIDs TEXT NULL;
+
+ALTER TABLE Users ADD KEY Email (Email);
