mpp-server-dev2/src/UserModel.js

9 lines
157 B
JavaScript
Raw Normal View History

2021-05-09 10:52:41 +02:00
const mongoose = require('mongoose');
module.exports = mongoose.model('User', {
name: String,
_id: String,
color: String,
flags: Object
});