Add status to hardware check model
This commit is contained in:
1 parent
cf032859a1
commit
70872c368d
1 file changed
+4
@@ -37,6 +37,10 @@ const HardwareCheckSchema = mongoose.Schema(
|
|||||||
ref: "Monitor",
|
ref: "Monitor",
|
||||||
immutable: true,
|
immutable: true,
|
||||||
},
|
},
|
||||||
|
status: {
|
||||||
|
type: Boolean,
|
||||||
|
index: true,
|
||||||
|
},
|
||||||
cpu: {
|
cpu: {
|
||||||
type: cpuSchema,
|
type: cpuSchema,
|
||||||
default: () => ({}),
|
default: () => ({}),
|
||||||
|
|||||||
Reference in new issue
Block a user