Преглед изворни кода

Update the merchant model to contain an address.

Lee Morgan пре 5 година
родитељ
комит
f56eeb70c9
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      models/merchant.js

+ 1 - 0
models/merchant.js

@@ -25,6 +25,7 @@ const MerchantSchema = new mongoose.Schema({
         type: Date,
         default: new Date()
     },
+    address: Object,
     inventory: [{
         ingredient: {
             type: mongoose.Schema.Types.ObjectId,