Skip to content

Commit

Permalink
chore: remove duplicated index
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Nov 9, 2023
1 parent 3963ef5 commit f333899
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion apps/meteor/server/models/raw/LivechatRooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export class LivechatRoomsRaw extends BaseRaw<IOmnichannelRoom> implements ILive
{ key: { 'omnichannel.predictedVisitorAbandonmentAt': 1 }, sparse: true },
{ key: { closedAt: 1 }, sparse: true },
{ key: { servedBy: 1 }, sparse: true },
{ key: { 'v.token': 1 }, sparse: true },
{ key: { 'v.token': 1, 'email.thread': 1 }, sparse: true },
{ key: { 'v._id': 1 }, sparse: true },
{ key: { t: 1, departmentId: 1, closedAt: 1 }, partialFilterExpression: { closedAt: { $exists: true } } },
Expand Down
3 changes: 0 additions & 3 deletions apps/meteor/server/models/raw/Rooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ export class RoomsRaw extends BaseRaw<IRoom> implements IRoomsModel {
key: { muted: 1 },
sparse: true,
},
{
key: { t: 1 },
},
{
key: { 'u._id': 1 },
},
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/server/models/raw/Subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export class SubscriptionsRaw extends BaseRaw<ISubscription> implements ISubscri
{ key: { 'userHighlights.0': 1 }, sparse: true },
{ key: { prid: 1 } },
{ key: { 'u._id': 1, 'open': 1, 'department': 1 } },
{ key: { rid: 1 } },
{ key: { rid: 1, ls: 1 } },
];
}
Expand Down
1 change: 0 additions & 1 deletion apps/meteor/server/models/raw/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class UsersRaw extends BaseRaw {
{ key: { lastLogin: 1 } },
{ key: { status: 1 } },
{ key: { statusText: 1 } },
{ key: { active: 1 }, sparse: 1 },
{ key: { statusConnection: 1 }, sparse: 1 },
{ key: { appId: 1 }, sparse: 1 },
{ key: { type: 1 } },
Expand Down

0 comments on commit f333899

Please sign in to comment.