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

var Schema = mongoose.Schema;

exports.Application = mongoose.model('Application', new Schema({
	Name: {
		type: String,
		required: true,
		lowercase: true,
		index: {
			unique: true
		}
	}
}));

exports.User = mongoose.model('User', new Schema({
	Name: {
		type: String,
		required: true,
		lowercase: true,
		index: {
			unique: true
		}
	},
	Email: {
		type: String,
		required: true,
		lowercase: true
	},
	PasswordHash: {
		type: String,
		select: false,
		required: true,
		lowercase: true
	},
	UID: {
		type: String,
		required: true
	}
}));

exports.TrackingData = mongoose.model('TrackingData', new Schema({
	Name: {
		type: String,
		required: true,
		lowercase: true,
		index: {
			unique: true
		}
	}
}));

mongoose.connect('mongodb://localhost/atlas');<commit_msg>including ObjectID in the exports.<commit_after>var mongoose = require('mongoose');

var Schema = mongoose.Schema;

exports.Application = mongoose.model('Application', new Schema({
	Name: {
		type: String,
		required: true,
		lowercase: true,
		index: {
			unique: true
		}
	}
}));

exports.User = mongoose.model('User', new Schema({
	Name: {
		type: String,
		required: true,
		lowercase: true,
		index: {
			unique: true
		}
	},
	Email: {
		type: String,
		required: true,
		lowercase: true
	},
	PasswordHash: {
		type: String,
		select: false,
		required: true,
		lowercase: true
	},
	UID: {
		type: String,
		required: true
	}
}));

exports.TrackingData = mongoose.model('TrackingData', new Schema({
	Name: {
		type: String,
		required: true,
		lowercase: true,
		index: {
			unique: true
		}
	}
}));

exports.ObjectId = mongoose.Types.ObjectId;

mongoose.connect('mongodb://localhost/atlas');
{'fraction_non_alphanumeric': 0.15046296296296297, 'fraction_numerical': 0.0, 'mean_word_length': 3.635388739946381, 'pattern_counts': {'":': 0, '<': 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': '2577477', 'n_tokens_mistral': 685, 'n_tokens_neox': 637, 'n_words': 145}