transfer project in github
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const mongoose = require('mongoose')
|
||||
const mongoosePaginate = require('mongoose-paginate-v2');
|
||||
|
||||
const contactUsSchema = mongoose.Schema({
|
||||
name: String,
|
||||
phone: String,
|
||||
email: String,
|
||||
message: String,
|
||||
read: Boolean
|
||||
})
|
||||
contactUsSchema.plugin(mongoosePaginate);
|
||||
|
||||
module.exports = mongoose.model('ContactUs', contactUsSchema)
|
||||
Reference in New Issue
Block a user