Update Complaint.js
This commit is contained in:
@@ -13,11 +13,13 @@ const ComplaintSchema = mongoose.Schema({
|
|||||||
caption: String,
|
caption: String,
|
||||||
callType: Boolean,
|
callType: Boolean,
|
||||||
brand: Boolean,
|
brand: Boolean,
|
||||||
|
desc:String,
|
||||||
type:{
|
type:{
|
||||||
type:Number,
|
type:Number,
|
||||||
default:0
|
default:0
|
||||||
},
|
},
|
||||||
read: { type: Boolean, default: false },
|
read: { type: Boolean, default: false },
|
||||||
|
user:{type:String, ref:'User'},
|
||||||
complete: { type: Boolean, default: false },
|
complete: { type: Boolean, default: false },
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user