indexes
This commit is contained in:
1 parent
1ee8a873f6
commit
aa346abf5b
4 files changed
+32
-8
No files matched your search
@@ -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);
|
||||
Reference in new issue
Block a user