<commit_before>var keystone = require('keystone');
var transform = require('model-transform');
var Types = keystone.Field.Types;

var User = new keystone.List('User');

User.add({
	name: { type: Types.Name, required: true, index: true },
	email: { type: Types.Email, initial: true, required: true, index: true, unique: true },
	password: { type: Types.Password, initial: true },
	company: { type: Types.Relationship, ref: 'Company', initial: true, index: true },
	address: { type: Types.Location, collapse: true },
}, 'Permissions', {<commit_msg>User password should be required<commit_after>var keystone = require('keystone');
var transform = require('model-transform');
var Types = keystone.Field.Types;

var User = new keystone.List('User');

User.add({
	name: { type: Types.Name, required: true, index: true },
	email: { type: Types.Email, initial: true, required: true, index: true, unique: true },
	password: { type: Types.Password, initial: true, required: true },
	company: { type: Types.Relationship, ref: 'Company', initial: true, index: true },
	address: { type: Types.Location, collapse: true },
}, 'Permissions', {
{'fraction_non_alphanumeric': 0.16149068322981366, 'fraction_numerical': 0.0, 'mean_word_length': 5.445714285714286, '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': '5236428', 'n_tokens_mistral': 345, 'n_tokens_neox': 338, 'n_words': 110}