Staff app schema
This commit is contained in:
9
schemas/staffAppSchema.js
Normal file
9
schemas/staffAppSchema.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
const { Schema, model } = require('mongoose');
|
||||||
|
|
||||||
|
const staffAppSchema = new Schema({
|
||||||
|
_id: Schema.Types.ObjectId,
|
||||||
|
userID: { type: String, required: true },
|
||||||
|
uuid: { type: String, required: true },
|
||||||
|
});
|
||||||
|
|
||||||
|
module.exports = model('staffapp', staffAppSchema, 'staffapp');
|
||||||
Reference in New Issue
Block a user