🔖 fix: bookmark error using CosmosDB - Added index to position field in schema (#4296)

This commit is contained in:
bijucyborg 2024-10-03 13:15:27 +02:00 committed by GitHub
parent 2ca257dfb9
commit ee5b96a7c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ const conversationTagSchema = mongoose.Schema(
position: {
type: Number,
default: 0,
index: true,
},
},
{ timestamps: true },