From 310e5c456b09642d676ddae821e91738f8542b5c Mon Sep 17 00:00:00 2001 From: varun Date: Thu, 9 May 2024 06:21:42 -0400 Subject: [PATCH] changes in iot waterlevel --- src/models/tanks.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/models/tanks.js b/src/models/tanks.js index 25d68156..7d16640b 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -84,6 +84,8 @@ const tanksSchema = new mongoose.Schema({ motor_id:{ type: String ,default: null}, motor_status: { type: String, default: "0" }, motor_stop_status: { type: String, default: "1" }, + capacity:{ type: String ,default: null}, + water_level:{ type: String ,default: null}, } ]