From 16aacc672123ef0e63570c69823bb340d81c9792 Mon Sep 17 00:00:00 2001 From: Bhaskara Kishore Date: Mon, 17 Apr 2023 14:23:01 +0530 Subject: [PATCH] changes --- src/models/tanks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/tanks.js b/src/models/tanks.js index e03f994b..d27b4777 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -10,7 +10,7 @@ const ObjectId = Schema.Types.ObjectId; const code = Math.floor(100000 + Math.random() * 900000); const RoleSchema = new Schema({ name: String }); const tanksSchema = new mongoose.Schema({ - hardwareId: { type: String, unique: true }, + hardwareId: { type: String }, customerId: { type: String, default: null }, tankName: { type: String, default: null }, blockName: { type: String, default: null },