All files / server/models user.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4
1 2 3 4 5 6 7 8 9 104x 4x   4x         4x  
const mongoose = require('mongoose')
const Schema = mongoose.Schema
 
const userSchema = new Schema({
  'userId': String,
  'userPwd': String
})
 
module.exports = mongoose.model('User', userSchema)