You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Natsuki/models/responses.js

9 lines
283 B

const mongoose = require('mongoose');
const ResponseSchema = new mongoose.Schema({
gid: {type: String, unique: true},
responses: {type: Map, default: new Map()},
bindings: {type: Map, default: new Map()}
});
module.exports = mongoose.model('responses', ResponseSchema);