diff --git a/src/models/tanks.js b/src/models/tanks.js index ebaebd42..a5fede93 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -109,7 +109,10 @@ const tanksSchema = new mongoose.Schema({ ], inputWaterlevelPercentage: { type: String, default: null }, outputWaterlevelPercentage: { type: String, default: null } - } + }, + motor_start_notified: { type: Boolean, default: false }, + motor_stop_notified: { type: Boolean, default: false } + }); const customerautopercentages = ({