This commit is contained in:
Alex Holliday committed 2025-12-18 19:04:44 +00:00
1 parent 1ee8a873f6
commit aa346abf5b
4 files changed
+32 -8

No files matched your search

+3
View File
@@ -163,5 +163,8 @@ MonitorSchema.index({ type: 1 });
MonitorSchema.index({ lastCheckedAt: 1 });
MonitorSchema.index({ createdBy: 1 });
MonitorSchema.index({ updatedBy: 1 });
// Common filter keys used across services and routes
MonitorSchema.index({ teamId: 1 });
MonitorSchema.index({ orgId: 1 });
export const Monitor = mongoose.model<IMonitor>("Monitor", MonitorSchema);