Added inital group task approval

This commit is contained in:
Keith Holliday
2016-09-17 16:31:04 -05:00
parent f5ba636579
commit 97bf9ee8e8
6 changed files with 170 additions and 1 deletions

View File

@@ -71,6 +71,9 @@ export let TaskSchema = new Schema({
taskId: {type: String, ref: 'Task', validate: [validator.isUUID, 'Invalid uuid.']},
},
requiresApproval: {type: Boolean, default: false},
approved: {type: Boolean, default: false},
reminders: [{
_id: false,
id: {type: String, validate: [validator.isUUID, 'Invalid uuid.'], default: shared.uuid, required: true},