mirror of
https://github.com/arnaucube/commonroutesServer.git
synced 2026-02-28 05:26:42 +01:00
users valoration started
This commit is contained in:
@@ -9,6 +9,11 @@ var userSchema = new Schema({
|
||||
avatar: { type: String },
|
||||
mail: { type: String },
|
||||
phone: { type: String },
|
||||
telegram: { type: String }
|
||||
telegram: { type: String },
|
||||
valorations: [{
|
||||
username: { type: String },
|
||||
value: { type: Number },
|
||||
comment: { type: String }
|
||||
}]
|
||||
})
|
||||
module.exports = mongoose.model('userModel', userSchema);
|
||||
|
||||
Reference in New Issue
Block a user