diff --git a/src/models/tankers.js b/src/models/tankers.js index e78af467..297c6cb4 100644 --- a/src/models/tankers.js +++ b/src/models/tankers.js @@ -16,8 +16,8 @@ const tankersSchema = new mongoose.Schema({ tankerName: { type: String, default: null }, phoneNumber: { type: String, default: null }, alternative_phoneNumber: { type: String, default: null }, - typeofwater: [{ typeofwater: String}], - price:[{ price: String}], + typeofwater: { type: String, default: null }, + price:{ type: String, default: null }, capacity: { type: String}, supplier_address: { type: String, default: null }, supplier_name : { type: String, default: null },