<commit_before>var mongoose = require( 'mongoose' );
var Schema   = mongoose.Schema;

var Dump = new Schema({
    user_id:
    {
        type: String,
        required: 'The User Id is required'
    },
    content:
    {
        type: String,
        required: 'The Dump Content is required'
    },
    updated_at: Date
});

var User = new Schema({
    username:
    {
        type: String,
        required: 'The User Name is required'
    },
    password:
    {
        type: String,
        required: 'The Password is required'
    },
    salt: String
});

var Session = new Schema({
    user_id:
    {
        type: String,
        required: 'The User Id is required'
    },
    token: String
});

mongoose.model( 'Dump', Dump );
mongoose.model( 'User', User );
mongoose.model( 'Session', Session );
mongoose.connect( 'mongodb://localhost/link-dump' );
<commit_msg>Made the token for the session token also required<commit_after>var mongoose = require( 'mongoose' );
var Schema   = mongoose.Schema;

var Dump = new Schema({
    user_id:
    {
        type: String,
        required: 'The User Id is required'
    },
    content:
    {
        type: String,
        required: 'The Dump Content is required'
    },
    updated_at: Date
});

var User = new Schema({
    username:
    {
        type: String,
        required: 'The User Name is required'
    },
    password:
    {
        type: String,
        required: 'The Password is required'
    },
    salt: String
});

var Session = new Schema({
    user_id:
    {
        type: String,
        required: 'The User Id is required'
    },
    token:
    {
        type: String,
        required: 'The sessionToken is required'
    }
});

mongoose.model( 'Dump', Dump );
mongoose.model( 'User', User );
mongoose.model( 'Session', Session );
mongoose.connect( 'mongodb://localhost/link-dump' );

{'fraction_non_alphanumeric': 0.12263641274986493, 'fraction_numerical': 0.0, 'mean_word_length': 2.1876075731497417, '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': '4291791', 'n_tokens_mistral': 576, 'n_tokens_neox': 584, 'n_words': 174}