forked from UKSOURCE/cms.hailearning.edu.vn
feat: Enhance comment management functionality in blog module
This commit is contained in:
@@ -11,6 +11,26 @@ const blogCommentSchema = new mongoose.Schema({
|
||||
required: true,
|
||||
trim: true // "Frank Flores"
|
||||
},
|
||||
authorEmail: {
|
||||
type: String,
|
||||
default: '',
|
||||
trim: true
|
||||
},
|
||||
authorPhone: {
|
||||
type: String,
|
||||
default: '',
|
||||
trim: true
|
||||
},
|
||||
authorAddress: {
|
||||
type: String,
|
||||
default: '',
|
||||
trim: true
|
||||
},
|
||||
authorDate: {
|
||||
type: String,
|
||||
default: '',
|
||||
trim: true
|
||||
},
|
||||
authorAvatar: {
|
||||
type: String,
|
||||
default: '' // "/assets/img/inner-page/news-details/comment-1.png"
|
||||
|
||||
Reference in New Issue
Block a user