Staff app schema

This commit is contained in:
2023-03-21 17:22:13 +01:00
parent 4a6f02ba81
commit cb81d31920

View 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');