<commit_before>import * as mongoose from 'mongoose'


export interface ITeam {
    name: string
    isPublic: boolean
    image: string
    memberCount?: number
}

export interface ITeamModel extends ITeam, mongoose.Document { }

let teamSchema = new mongoose.Schema({
    name: { unique: true, type: String },
    isPublic: Boolean,
    image: String
})

export let Team = mongoose.model<ITeamModel>('Team', teamSchema)<commit_msg>make team name not unique<commit_after>import * as mongoose from 'mongoose'


export interface ITeam {
    name: string
    isPublic: boolean
    image: string
    memberCount?: number
}

export interface ITeamModel extends ITeam, mongoose.Document { }

let teamSchema = new mongoose.Schema({
    name: { unique: false, type: String },
    isPublic: Boolean,
    image: String
})

export let Team = mongoose.model<ITeamModel>('Team', teamSchema)
{'fraction_non_alphanumeric': 0.09578107183580388, 'fraction_numerical': 0.0, 'mean_word_length': 4.017142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6855452', 'n_tokens_mistral': 267, 'n_tokens_neox': 267, 'n_words': 83}