mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
added ability to create a tree of cards
This commit is contained in:
parent
f89de026c4
commit
879a84184f
2 changed files with 17 additions and 0 deletions
|
@ -15,6 +15,11 @@ Cards.attachSchema(new SimpleSchema({
|
|||
}
|
||||
},
|
||||
},
|
||||
parentId: {
|
||||
type: String,
|
||||
optional: true,
|
||||
defaultValue: '',
|
||||
},
|
||||
listId: {
|
||||
type: String,
|
||||
},
|
||||
|
|
|
@ -258,3 +258,15 @@ Migrations.add('add-assigner-field', () => {
|
|||
}, noValidateMulti);
|
||||
});
|
||||
|
||||
|
||||
Migrations.add('add-parent-field-to-cards', () => {
|
||||
Cards.update({
|
||||
parentId: {
|
||||
$exists: false,
|
||||
},
|
||||
}, {
|
||||
$set: {
|
||||
parentId:'',
|
||||
},
|
||||
}, noValidateMulti);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue