From 511dfef57e24e5cad4d9824f42552a46024d56b1 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 27 Aug 2024 07:22:02 +0930 Subject: [PATCH] [social/chat/message] Add sentAt index to message schema --- social/chat/message/v0.1.0/schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/social/chat/message/v0.1.0/schema.json b/social/chat/message/v0.1.0/schema.json index 0fb4b2e..1e9a41a 100644 --- a/social/chat/message/v0.1.0/schema.json +++ b/social/chat/message/v0.1.0/schema.json @@ -15,8 +15,10 @@ "name": "social_chat_message", "indexes": { "source": ["sourceApplication", "sourceId"], - "chatGroupId": ["chatGroupId", "sentAt"], - "insertedAt": ["insertedAt"] + "chatGroupId": ["chatGroupId"], + "sentAt": [ + "sentAt" + ] } }, "layouts": {