Added waitinglist schema for mongo

This commit is contained in:
2023-08-06 21:19:54 +02:00
parent a604d816f5
commit 04bb39871e

View File

@@ -0,0 +1,10 @@
const { Schema, model } = require('mongoose');
const waitinglistSchema = new Schema({
_id: Schema.Types.ObjectId,
userID: { type: String, required: true },
uuid: { type: String, required: true },
IGN: { type: String, required: true },
});
module.exports = model('waitinglist', waitinglistSchema, 'waitinglist');