const mongoose = require("mongoose"); const participantSchema = new mongoose.Schema({ userId: { type: String, required: true }, username: { type: String, required: true }, }); module.exports = mongoose.model("Participant", participantSchema);