Add status to hardware check model

This commit is contained in:
Alex Holliday
2024-10-25 10:48:37 +08:00
parent cf032859a1
commit 70872c368d
+4
View File
@@ -37,6 +37,10 @@ const HardwareCheckSchema = mongoose.Schema(
ref: "Monitor",
immutable: true,
},
status: {
type: Boolean,
index: true,
},
cpu: {
type: cpuSchema,
default: () => ({}),