Skip to content

Commit

Permalink
feat: added index for user's freeSwitchExtension (#33323)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lehnen-rc authored Sep 24, 2024
1 parent c91b790 commit 634b5a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/meteor/server/models/raw/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class UsersRaw extends BaseRaw {
{ key: { openBusinessHours: 1 }, sparse: true },
{ key: { statusLivechat: 1 }, sparse: true },
{ key: { extension: 1 }, sparse: true, unique: true },
{ key: { freeSwitchExtension: 1 }, sparse: true, unique: true },
{ key: { language: 1 }, sparse: true },
{ key: { 'active': 1, 'services.email2fa.enabled': 1 }, sparse: true }, // used by statistics
{ key: { 'active': 1, 'services.totp.enabled': 1 }, sparse: true }, // used by statistics
Expand Down

0 comments on commit 634b5a7

Please sign in to comment.