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.
9 lines
283 B
9 lines
283 B
4 years ago
|
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);
|