user connected comprovation system implemented

This commit is contained in:
nau
2016-09-10 14:12:45 +02:00
parent fd5abae31f
commit 846ebf23bd
5 changed files with 95 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ var userSchema = new Schema({
web: { type: String },
projects: { type: String },
connected: { type: Boolean },
working: { type: Boolean }
working: { type: Boolean },
lastConnection: { type: Date }
})
module.exports = mongoose.model('userModel', userSchema);