Add hour filters to check queries

This commit is contained in:
Alex Holliday committed 2025-01-22 11:07:32 -08:00
1 parent 2a74f2e8da
commit fc36da4f7b
3 files changed
+15 -32

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ CheckSchema.index({ createdAt: 1 });
CheckSchema.index({ monitorId: 1, createdAt: 1 });
CheckSchema.index({ monitorId: 1, createdAt: -1 });
CheckSchema.index({ teamId: 1, createdAt: -1 });
CheckSchema.index({ teamId: 1 });
export default mongoose.model("Check", CheckSchema);
export { BaseCheckSchema };