somewhere
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const FAQSchema = mongoose.Schema({
|
||||
_creator: { type: mongoose.ObjectId, ref: 'User' },
|
||||
question: String,
|
||||
answer: String
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('FAQ', FAQSchema)
|
||||
Reference in New Issue
Block a user