@ -20,8 +20,12 @@ const tankersSchema = new mongoose.Schema({
capacity: { type: String},
supplier_address: { type: String, default: null },
supplier_name : { type: String, default: null },
status: { type: String}
price: {
type: [String],
default: []
},
status: { type: String},
});
@ -53,6 +53,9 @@ module.exports = function (fastify, opts, next) {
capacity: { type: "string"},
price: {type : "string"},
// status: {type: "string"}