discord-multipurpose-bot/models/Participant.js

9 lines
257 B
JavaScript
Raw Permalink Normal View History

2024-10-28 23:14:58 +00:00
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);