{"size": 314, "ext": "js", "max_stars_repo_path": "src/model/user.js", "max_stars_repo_name": "jackmilleraustralia/ANZUB-UMVBOT", "max_stars_repo_stars_event_min_datetime": "2018-06-27T14:50:14.000Z", "max_stars_repo_stars_event_max_datetime": "2018-06-27T14:50:14.000Z", "max_issues_repo_path": "src/model/user.js", "max_issues_repo_name": "jackmilleraustralia/Steemph.cebu", "max_issues_repo_issues_event_min_datetime": "2018-05-01T07:51:13.000Z", "max_issues_repo_issues_event_max_datetime": "2018-05-03T13:08:23.000Z", "max_forks_repo_path": "src/model/user.js", "max_forks_repo_name": "jackmilleraustralia/Steemph.cebu", "max_forks_repo_forks_event_min_datetime": "2018-06-27T14:08:35.000Z", "max_forks_repo_forks_event_max_datetime": "2018-09-03T03:48:54.000Z"}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": 2, "avg_line_length": 24.1538461538, "max_line_length": 60, "alphanum_fraction": 0.6910828025}
import mongoose from 'mongoose';

let Schema = mongoose.Schema;

let userSchema = new Schema({
  name: { type: String, required: true },
  discordid: { type: String, required: true, unique: true },
  lastpostdatetime: { type: Number }
  // timestamp: true
});

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