Added waitinglist schema for mongo
This commit is contained in:
10
schemas/waitinglistSchema.js
Normal file
10
schemas/waitinglistSchema.js
Normal 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');
|
||||
Reference in New Issue
Block a user