Edit surveys
This commit is contained in:
@@ -10,6 +10,14 @@ const SurveySchema = mongoose.Schema({
|
||||
coast: { type: Number, enum: [1, 2, 3, 4, 5] },
|
||||
description: String,
|
||||
code: String,
|
||||
fullName: String,
|
||||
national: String,
|
||||
phoneNumber: String,
|
||||
email: String,
|
||||
type: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
user: { type: mongoose.ObjectId, ref: 'User' },
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user