Skip to content

Commit ee5b96a

Browse files
authored
🔖 fix: bookmark error using CosmosDB - Added index to position field in schema (danny-avila#4296)
1 parent 2ca257d commit ee5b96a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎api/models/schema/conversationTagSchema.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const conversationTagSchema = mongoose.Schema(
2121
position: {
2222
type: Number,
2323
default: 0,
24+
index: true,
2425
},
2526
},
2627
{ timestamps: true },

0 commit comments

Comments
 (0)