33 lines
795 B
JavaScript
33 lines
795 B
JavaScript
const mongoose = require('mongoose');
|
|
const Schema = mongoose.Schema;
|
|
|
|
const rpgquestionSchema = new Schema({
|
|
|
|
|
|
MapQuestions : [
|
|
{
|
|
MapQuestion_ID: String,
|
|
Question: String,
|
|
Rating:String,
|
|
Feedback_Map : String,
|
|
}
|
|
],
|
|
AppQuestions : [
|
|
{
|
|
AppQuestion_ID: String,
|
|
Question: String,
|
|
Rating:String,
|
|
Feedback_App : String,
|
|
}
|
|
|
|
],
|
|
id: String,
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
const newRpgquestion = mongoose.model('rpgratingquestion', rpgquestionSchema);
|
|
module.exports = newRpgquestion; |