<commit_before>const mongoose = require('mongoose');

const payeeSchema = new mongoose.Schema({  
    owner: String,
    intervalType: String,
    name: String,
    description: String,
    ref: String,
    amount: { type: Number, min: 0, max: 99999 },
    url: String,
    day: { type: Number, min: 0, max: 31 },
    active: { type: Boolean, default: true },
    deleted: { type: Boolean, default: false }
}, {
    timestamps: true
});

const Payee = mongoose.model('Payee', payeeSchema);

module.exports = Payee;<commit_msg>Min/max day<commit_after>const mongoose = require('mongoose');

const payeeSchema = new mongoose.Schema({  
    owner: String,
    intervalType: String,
    name: String,
    description: String,
    ref: String,
    amount: { type: Number, min: 0, max: 99999 },
    url: String,
    day: { type: Number, min: 1, max: 31 },
    active: { type: Boolean, default: true },
    deleted: { type: Boolean, default: false }
}, {
    timestamps: true
});

const Payee = mongoose.model('Payee', payeeSchema);

module.exports = Payee;
{'fraction_non_alphanumeric': 0.1419047619047619, 'fraction_numerical': 0.017142857142857144, 'mean_word_length': 3.4345991561181433, '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': '456525', 'n_tokens_mistral': 356, 'n_tokens_neox': 348, 'n_words': 102}