Explorar el Código

update userSchema

久保田隼基 hace 8 años
padre
commit
f1ce211b14
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lib/models/user.js

+ 1 - 0
lib/models/user.js

@@ -29,6 +29,7 @@ module.exports = function(crowi) {
     userId: String,
     image: String,
     isGravatarEnabled: { type: Boolean, default: false },
+    isEmailPublished: { type: Boolean, default: false },
     googleId: String,
     name: { type: String },
     username: { type: String, required: true, unique: true },