mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 12:48:52 +00:00
[#1738] add due date to taskSchema
This commit is contained in:
parent
6f6df94ce7
commit
14fac02a52
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue