1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
var mongoose = require('mongoose'); module.exports = mongoose.model('Ninfo', { login: { type: String, default: 'login' }, equipe: { type: String, default: 'nope' }, comment: { type: String, default: '' } });