soft delete code added

This commit is contained in:
Mansi1916
2025-07-12 12:50:43 +05:30
parent dd2ceadee5
commit 7305fc1311
5 changed files with 77 additions and 11 deletions

View File

@@ -11,6 +11,10 @@ const meetingSchema = new mongoose.Schema({
endTime: String,
recipients: [String],
attachments: [{ filename: String, path: String }],
isDeleted: {
type: Boolean,
default: false
}
});
module.exports = mongoose.model("Meeting", meetingSchema);