From cb81d319200d0edbf6846047568d411303a4fa8e Mon Sep 17 00:00:00 2001 From: Taken Date: Tue, 21 Mar 2023 17:22:13 +0100 Subject: [PATCH] Staff app schema --- schemas/staffAppSchema.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 schemas/staffAppSchema.js diff --git a/schemas/staffAppSchema.js b/schemas/staffAppSchema.js new file mode 100644 index 0000000..94204a6 --- /dev/null +++ b/schemas/staffAppSchema.js @@ -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'); \ No newline at end of file