<commit_before>var mongoose     = require('mongoose');
var Schema       = mongoose.Schema;	


var UserSchema = new Schema({
	name: String,
	email: {type: String, required: true, unique: true},
	type: {
		type: String,
		enum: ['Customer', 'CSR'],
		default: 'Customer'
	},
});

module.exports = mongoose.model('User', UserSchema);<commit_msg>Fields added in user to deactivate and profile pic<commit_after>var mongoose     = require('mongoose');
var Schema       = mongoose.Schema;	


var UserSchema = new Schema({
	name: String,
	email: {type: String, required: true, unique: true},
	isActive: {type: Boolean, default: true},
	image: {type: String, default: 'https://eliaslealblog.files.wordpress.com/2014/03/user-200.png'},
	type: {
		type: String,
		enum: ['Customer', 'CSR'],
		default: 'Customer'
	},
});

module.exports = mongoose.model('User', UserSchema);
{'fraction_non_alphanumeric': 0.16106604866743918, 'fraction_numerical': 0.010428736964078795, 'mean_word_length': 4.503184713375796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '4283134', 'n_tokens_mistral': 297, 'n_tokens_neox': 289, 'n_words': 77}