<commit_before>var mongoose = require('../../../lib/mongoose.js'),
validate = require('mongoose-validator').validate;

var schema = new mongoose.Schema({
  _id: {
    type: String,
    required: true
  },
  email: {
    type: String,
    required: true,
    unique: true,
    validate: validate('isEmail')
  },
  name: {
    type: String,
    required: true,
    unique: true,
    validate: validate('isAlphanumeric')
  },
  createdAt: {
    type: Date,
    required: true,
    "default": Date.now
  },
  updatedAt: {
    type: Date,
    required: true,
    "default": Date.now
  },
  deletedAt:{
    type: Date,
    required: false
  },
  verifiedEmail: {
    type: Boolean,
    "default": false
  },
  isAdmin: {
    type: Boolean,
    "default": false
  },
  isSuspended: {<commit_msg>[864882] Removed verifiedEmail field from user model<commit_after>var mongoose = require('../../../lib/mongoose.js'),
validate = require('mongoose-validator').validate;

var schema = new mongoose.Schema({
  _id: {
    type: String,
    required: true
  },
  email: {
    type: String,
    required: true,
    unique: true,
    validate: validate('isEmail')
  },
  name: {
    type: String,
    required: true,
    unique: true,
    validate: validate('isAlphanumeric')
  },
  createdAt: {
    type: Date,
    required: true,
    "default": Date.now
  },
  updatedAt: {
    type: Date,
    required: true,
    "default": Date.now
  },
  deletedAt:{
    type: Date,
    required: false
  },
  isAdmin: {
    type: Boolean,
    "default": false
  },
  isSuspended: {
{'fraction_non_alphanumeric': 0.15022566086395875, 'fraction_numerical': 0.0038684719535783366, 'mean_word_length': 2.643192488262911, 'pattern_counts': {'":': 7, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3674629', 'n_tokens_mistral': 525, 'n_tokens_neox': 532, 'n_words': 125}