mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 08:45:55 +00:00
9 lines
257 B
JavaScript
9 lines
257 B
JavaScript
|
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);
|