summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorNicu Tofan <nicu.tofan@gmail.com>2018-06-19 00:42:54 +0300
committerNicu Tofan <nicu.tofan@gmail.com>2018-06-26 14:32:48 +0300
commit879a84184ff2f9b8719f5ac1e25d35e0fa5f52fb (patch)
tree8159f9462c0c0d81fa4dfe78032f2b8926999505 /models
parentf89de026c414879bdb61a0f3117e92fde6acf5aa (diff)
downloadwekan-879a84184ff2f9b8719f5ac1e25d35e0fa5f52fb.tar.gz
wekan-879a84184ff2f9b8719f5ac1e25d35e0fa5f52fb.tar.bz2
wekan-879a84184ff2f9b8719f5ac1e25d35e0fa5f52fb.zip
added ability to create a tree of cards
Diffstat (limited to 'models')
-rw-r--r--models/cards.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js
index 6edffb79..c5d7cdf9 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -15,6 +15,11 @@ Cards.attachSchema(new SimpleSchema({
}
},
},
+ parentId: {
+ type: String,
+ optional: true,
+ defaultValue: '',
+ },
listId: {
type: String,
},