<commit_before>var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var Gender = require('./gender.js');
var AgeGroup = require('./ageGroup.js');

var Team = new Schema({
    
    name: {
        type: String,
        require: true
    }, 
    gender: {
        type: Schema.Types.ObjectId,
        ref: 'Gender'
    },
    age_group: {
        type: Schema.Types.ObjectId,
        ref: 'AgeGroup'
    }
}, {
    timestamps: true
});

module.exports = mongoose.model('Team', Team);<commit_msg>added missing reference to CLUB in TEAM model<commit_after>var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var Gender = require('./gender.js');
var Club = require('./club.js');
var AgeGroup = require('./ageGroup.js');

var Team = new Schema({
    
    name: {
        type: String,
        require: true
    }, 
    gender: {
        type: Schema.Types.ObjectId,
        ref: 'Gender'
    },
    age_group: {
        type: Schema.Types.ObjectId,
        ref: 'AgeGroup'
    },
    club: {
        type: Schema.Types.ObjectId,
        ref: 'club'
    }
}, {
    timestamps: true
});

module.exports = mongoose.model('Team', Team);
{'fraction_non_alphanumeric': 0.15091066782307025, 'fraction_numerical': 0.0, 'mean_word_length': 2.374269005847953, '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': '7410908', 'n_tokens_mistral': 372, 'n_tokens_neox': 371, 'n_words': 86}