@timardex/cluemart-server-shared 4.2.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2008,6 +2008,14 @@ schema15.index({ "licences.licenceType": 1 });
2008
2008
  schema15.index({ promoCodes: 1, active: 1, deletedAt: 1 });
2009
2009
  schema15.index({ email: "text", firstName: "text", lastName: "text" });
2010
2010
  schema15.index({ email: 1 }, { name: "email_unique", unique: true });
2011
+ schema15.index(
2012
+ { email: 1 },
2013
+ {
2014
+ collation: { locale: "en", strength: 2 },
2015
+ name: "email_unique_normalized",
2016
+ unique: true
2017
+ }
2018
+ );
2011
2019
  schema15.index({ "associatedResources.events": 1 });
2012
2020
  schema15.index({ "associatedResources.partners": 1 });
2013
2021
  schema15.index({ "associatedResources.vendors": 1 });