store reminders for tasks

This commit is contained in:
Phillip Thelen
2016-02-18 20:30:02 +01:00
parent c95950c679
commit 86181253c6
2 changed files with 10 additions and 2 deletions
+6 -1
View File
@@ -28,7 +28,12 @@ var TaskSchema = {
broken: String, // CHALLENGE_DELETED, TASK_DELETED, UNSUBSCRIBED, CHALLENGE_CLOSED
winner: String // user.profile.name
// group: {type: 'Strign', ref: 'Group'} // if we restore this, rename `id` above to `challenge`
}
},
reminders: [{
id: {type:String,'default':shared.uuid},
startDate: Date,
time: Date
}]
};
var HabitSchema = new Schema(