From d91ad2e455d770753baaff7d5a4c65d0b1f1b1db Mon Sep 17 00:00:00 2001 From: Kevin Aleman Date: Tue, 3 Oct 2023 12:02:20 -0600 Subject: [PATCH] Missing index on room.v.activity --- apps/meteor/server/models/raw/LivechatRooms.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/meteor/server/models/raw/LivechatRooms.ts b/apps/meteor/server/models/raw/LivechatRooms.ts index 666d03e1d830..bf44a51b7f64 100644 --- a/apps/meteor/server/models/raw/LivechatRooms.ts +++ b/apps/meteor/server/models/raw/LivechatRooms.ts @@ -75,6 +75,7 @@ export class LivechatRoomsRaw extends BaseRaw implements ILive { key: { departmentId: 1, ts: 1 }, partialFilterExpression: { departmentId: { $exists: true }, t: 'l' } }, { key: { 'tags.0': 1, 'ts': 1 }, partialFilterExpression: { 'tags.0': { $exists: true }, 't': 'l' } }, { key: { servedBy: 1, ts: 1 }, partialFilterExpression: { servedBy: { $exists: true }, t: 'l' } }, + { key: { 'v.activity': 1, 'ts': 1 }, partialFilterExpression: { 'v.activity': { $exists: true }, 't': 'l' } }, ]; }