Explorar el Código

Update the merchant model to contain an address.

Lee Morgan hace 5 años
padre
commit
f56eeb70c9
Se han modificado 1 ficheros con 1 adiciones y 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,