var mongoose = require('mongoose');

var userSchema = mongoose.Schema({
  linkHash: String,
  senderID: String,
  receiverID: Array
});

module.exports = mongoose.model('User', userSchema);
var mongoose = require('mongoose');

var userSchema = mongoose.Schema({
  linkHash: String,
  senderID: String,
  receiverIDArray: Array
});

module.exports = mongoose.model('User', userSchema);
Change schema attribute name with kcvan in user_schema.js