[#1738] add due date to taskSchema

This commit is contained in:
Tyler Renelle 2013-11-03 17:53:51 -08:00
parent 6f6df94ce7
commit 14fac02a52

View file

@ -17,6 +17,7 @@ var TaskSchema = new Schema({
id: String,
history: Array, // [{date:Date, value:Number}], // this causes major performance problems
text: String,
date: Date, // due date for todos
notes: {type: String, 'default': ''},
tags: {type: Schema.Types.Mixed, 'default': {}}, //{ "4ddf03d9-54bd-41a3-b011-ca1f1d2e9371" : true },
type: {type:String, 'default': 'habit'}, // habit, daily