<commit_before>'use strict';
module.exports = function(sequelize, DataTypes) {
	//Define el modelo User
	var User = sequelize.define('User', {
		cum: DataTypes.STRING,
		seccion: DataTypes.STRING,
		grupo: DataTypes.INTEGER,
		provincia: DataTypes.STRING,
		facebookid: DataTypes.STRING,
		facebooktoken: DataTypes.STRING,
		facebookname: DataTypes.STRING,
		facebookemail: DataTypes.STRING,
	}, {
		//set the timestamps to be underscored: (created_at, updated_at)
		underscored: true,
		classMethods: {
			associate: function(models) {
				User.hasMany(models.Ficha,{
					onDelete: 'cascade',
					foreignKey: 'autor', 
					sourceKey: 'id'
				});
				User.hasMany(models.Patrulla,{
					onDelete: 'cascade'
				});
			}
		}<commit_msg>Update user.js<commit_after>'use strict';
module.exports = function(sequelize, DataTypes) {
	//Define el modelo User
	var User = sequelize.define('User', {
		cum: DataTypes.STRING,
		seccion: DataTypes.STRING,
		grupo: DataTypes.INTEGER,
		provincia: DataTypes.STRING,
		email: DataTypes.STRING,
		password: DataTypes.STRING
	}, {
		//set the timestamps to be underscored: (created_at, updated_at)
		underscored: true,
		classMethods: {
			associate: function(models) {
				User.hasMany(models.Ficha,{
					onDelete: 'cascade',
					foreignKey: 'autor', 
					sourceKey: 'id'
				});
				User.hasMany(models.Patrulla,{
					onDelete: 'cascade'
				});
			}
		}
{'fraction_non_alphanumeric': 0.13009292351679771, 'fraction_numerical': 0.0, 'mean_word_length': 3.7781569965870307, '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': '4467254', 'n_tokens_mistral': 589, 'n_tokens_neox': 487, 'n_words': 99}