Merge branch 'master' into feat/alert-routes

This commit is contained in:
Alex Holliday committed 2024-05-28 11:45:51 -07:00
commit 90baac5067
7 files changed
+171 -3

No files matched your search

+10
View File
@@ -7,6 +7,16 @@ const AlertSchema = mongoose.Schema(
ref: 'Check',
immutable: true,
},
monitorId: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Monitor',
immutable: true,
},
userId: {
type: mongoose.Schema.Types.ObjectId,
ref: 'User',
immutable: true,
},
status: {
type: Boolean,
},