Refactored mong.js; Implemented majorList for ProfilCard;

This commit is contained in:
2019-07-20 18:24:14 +02:00
parent 5f0c8c1d2f
commit 633dbc90f0
9 changed files with 97 additions and 34 deletions
+4 -5
View File
@@ -200,20 +200,19 @@ const dbs = {
model.Tags._list = [ "" ];
var userSchema = common.mongoose.Schema({
//_id: { type: String },
_id: { type: String },
name: { type: String, required: true,
_comment: "" },
pwd: { type: String,
_comment: "" },
//hash: { type: String },
//salt: { type: String },
//type: { type: String },
hash: { type: String },
salt: { type: String },
type: { type: String },
roles: { type: [String], required: true,
_comment: "" },
tags: { type: [String],
_comment: "" },
//deactivated: { type: Boolean },
//participating: { type: [String] },
//host: { type: Boolean },
bookmarks: { type: [String],
_comment: "" },