From ee5b96a7c855e07dc3d21239876235d02d059bf6 Mon Sep 17 00:00:00 2001 From: bijucyborg Date: Thu, 3 Oct 2024 13:15:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20fix:=20bookmark=20error=20using?= =?UTF-8?q?=20CosmosDB=20-=20Added=20`index`=20to=20position=20field=20in?= =?UTF-8?q?=20schema=20(#4296)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/models/schema/conversationTagSchema.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/models/schema/conversationTagSchema.js b/api/models/schema/conversationTagSchema.js index f00a0cfce9..9b2a98c6d8 100644 --- a/api/models/schema/conversationTagSchema.js +++ b/api/models/schema/conversationTagSchema.js @@ -21,6 +21,7 @@ const conversationTagSchema = mongoose.Schema( position: { type: Number, default: 0, + index: true, }, }, { timestamps: true },