mpp-server-dev2/oldsrc/UserModel.js

9 lines
157 B
JavaScript

const mongoose = require('mongoose');
module.exports = mongoose.model('User', {
name: String,
_id: String,
color: String,
flags: Object
});