Can add cards as subtasks

This commit is contained in:
Nicu Tofan 2018-06-23 23:22:38 +03:00
parent adb7f5b2ca
commit 5a023e4315
No known key found for this signature in database
GPG key ID: 7EE66E95E64FD0B7
4 changed files with 92 additions and 5 deletions

View file

@ -269,3 +269,16 @@ Migrations.add('add-parent-field-to-cards', () => {
},
}, noValidateMulti);
});
Migrations.add('add-subtasks-boards', () => {
Boards.update({
subtasksDefaultBoardId: {
$exists: false,
},
}, {
$set: {
subtasksDefaultBoardId: null,
subtasksDefaultListId: null,
},
}, noValidateMulti);
});