work traking and stopping functionallity semi implemented

This commit is contained in:
nau
2016-09-09 18:41:08 +02:00
parent 48eb01dd5e
commit a0f6d4abba
5 changed files with 96 additions and 29 deletions

View File

@@ -7,7 +7,16 @@ var projectSchema = new Schema({
description: { type: String },
icon: { type: String },
users: [{ type: String }],
chart: { type: String },
chart: [{
labels: [{ type: String }],
series: [{ type: String }],
data: [{type: String }]
}],
workStrikes: [{
username: { type: String },
start: { type: Date },
end: { type: Date }
}],
dateCreation: { type: Date },
github: { type: String },
refnum: { type: String }