remove unused indexes

This commit is contained in:
Alex Holliday committed 2025-12-23 20:10:18 +00:00
1 parent 658c7c090f
commit 3f8198f3df
2 files changed
+44 -11

No files matched your search

-7
View File
@@ -315,12 +315,5 @@ CheckSchema.index({
"metadata.monitorId": 1,
createdAt: -1,
});
CheckSchema.index({ "metadata.teamId": 1, status: 1, createdAt: -1 });
CheckSchema.index({
"metadata.teamId": 1,
"metadata.monitorId": 1,
status: 1,
createdAt: -1,
});
export const Check = mongoose.model<ICheck>("Check", CheckSchema);