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