Add files via upload

This commit is contained in:
Richard Gingrich
2024-08-06 15:53:05 -06:00
committed by GitHub
commit 5ca105d4f2
21 changed files with 4428 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const CommendationsSchema = new Schema({
commenderId: {
type: String,
required: true,
unique: false,
},
commendedId:{
type: String,
required: true,
unique: false
},
score: {
type: Number,
required: true,
unique: false,
}
});
module.exports = mongoose.model("Commendations", CommendationsSchema);