var mongoose = require('mongoose');

var userSchema = new mongoose.Schema({
  linkHash : String,
  senderID : String,
  receiverID : Number,
  created_at : Array
});
var mongoose = require('mongoose');

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

module.exports = mongoose.model('User', userSchema);
Refactor user schema with kcvan in user_schema.js