feat: add ci cd files dont edit those files
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
const mongoose = require('mongoose');
|
||||
const mongoosePaginate = require('mongoose-paginate-v2');
|
||||
|
||||
|
||||
const FeedBackSchema = mongoose.Schema({
|
||||
name : String,
|
||||
description: String,
|
||||
email : String,
|
||||
twitter:String,
|
||||
phoneNumber : String,
|
||||
read : {type : Boolean , default : false},
|
||||
_updatedBy: {
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'User'
|
||||
}
|
||||
});
|
||||
|
||||
FeedBackSchema.plugin(mongoosePaginate);
|
||||
|
||||
module.exports = mongoose.model('FeedBack', FeedBackSchema);
|
||||
Reference in New Issue
Block a user