Add device field into moogose diskSchema

This commit is contained in:
antoplt
2025-11-18 13:12:34 +01:00
parent 98214ff578
commit ffa4b1695b

View File

@@ -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 },