mpp-server-dev2/oldsrc/InventoryModel.js

7 lines
125 B
JavaScript

const mongoose = require('mongoose');
module.exports = mongoose.model('Inventory', {
user_id: String,
items: Array
});