Browse Source

Update the merchant model to contain an address.

Lee Morgan 5 năm trước cách đây
mục cha
commit
f56eeb70c9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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,