@timardex/cluemart-server-shared 4.2.0 → 4.2.1

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.
package/dist/index.mjs CHANGED
@@ -1981,6 +1981,7 @@ schema15.index({ "licences.expiryDate": 1 });
1981
1981
  schema15.index({ "licences.licenceType": 1 });
1982
1982
  schema15.index({ promoCodes: 1, active: 1, deletedAt: 1 });
1983
1983
  schema15.index({ email: "text", firstName: "text", lastName: "text" });
1984
+ schema15.index({ email: 1 }, { name: "email_unique", unique: true });
1984
1985
  schema15.index({ "associatedResources.events": 1 });
1985
1986
  schema15.index({ "associatedResources.partners": 1 });
1986
1987
  schema15.index({ "associatedResources.vendors": 1 });