9 lines
201 B
JavaScript
9 lines
201 B
JavaScript
var mongoose = require('mongoose');
|
|
var Schema = mongoose.Schema;
|
|
|
|
var userSchema = new Schema({
|
|
'pass' : String,
|
|
'key' : String,
|
|
});
|
|
|
|
module.exports = mongoose.model('user', userSchema); |