Explorar o código

Update the merchant model to contain an address.

Lee Morgan %!s(int64=5) %!d(string=hai) anos
pai
achega
f56eeb70c9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,