Updated the Alert model, ReadMe file
This commit is contained in:
1 parent
98ac394594
commit
424bec1366
2 files changed
+13
-1
No files matched your search
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user