<commit_before># A user on the site
mongoose = require 'mongoose'

Schema = mongoose.Schema
ObjectId = Schema.ObjectId

userSchema = new Schema
  # Full name from Twitter profile
  name:
    type: String
    required: true
  # Custom bio
  bio:
    type: String
    required: true
  # User id #
  uid:
    type: Number
    required: true

exports.User = mongoose.model 'User', userSchema<commit_msg>Add more fields to user schema<commit_after># A user on the site
mongoose = require 'mongoose'

Schema = mongoose.Schema
ObjectId = Schema.ObjectId

userSchema = new Schema
  # Twitter id
  twitterId:
    type: Number
    required: true
  # Twitter username
  twitterUsername:
    type: String
    required: true
  # Full name from Twitter profile
  name:
    type: String
    required: true
  # Custom bio
  bio:
    type: String
    required: true
  # User id #
  uid:
    type: Number
    required: true

exports.User = mongoose.model 'User', userSchema
{'fraction_non_alphanumeric': 0.07329842931937172, 'fraction_numerical': 0.0, 'mean_word_length': 3.0508474576271185, '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': '2852036', 'n_tokens_mistral': 292, 'n_tokens_neox': 297, 'n_words': 106}