Add device field into moogose diskSchema
This commit is contained in:
1 parent
98214ff578
commit
ffa4b1695b
1 file changed
+1
@@ -17,6 +17,7 @@ const memorySchema = mongoose.Schema({
|
||||
});
|
||||
|
||||
const diskSchema = mongoose.Schema({
|
||||
device: { type: String, default: "" },
|
||||
read_speed_bytes: { type: Number, default: 0 },
|
||||
write_speed_bytes: { type: Number, default: 0 },
|
||||
total_bytes: { type: Number, default: 0 },
|
||||
|
||||
Reference in new issue
Block a user