made changes in edit tank info

master
varun 3 years ago
parent da9d6a72ee
commit 9d8bd8c1cf

@ -9,8 +9,7 @@ const ObjectId = Schema.Types.ObjectId;
const code = Math.floor(100000 + Math.random() * 900000); const code = Math.floor(100000 + Math.random() * 900000);
const RoleSchema = new Schema({ name: String }); const RoleSchema = new Schema({ name: String });
const tanksSchema = new mongoose.Schema({ const tanksSchema = new mongoose.Schema({
customerId: { type: String, default: null },
userName: { type: String, default: null },
tankName: { type: String, default: null }, tankName: { type: String, default: null },
blockName: { type: String, default: null }, blockName: { type: String, default: null },
capacity: { type: String, default: null }, capacity: { type: String, default: null },

Loading…
Cancel
Save