Board level settings for subtasks

This commit is contained in:
Nicu Tofan 2018-06-25 23:12:20 +03:00
parent c9f70cf382
commit 94a52080cf
No known key found for this signature in database
GPG key ID: 7EE66E95E64FD0B7
8 changed files with 140 additions and 4 deletions

View file

@ -287,3 +287,15 @@ Migrations.add('add-subtasks-sort', () => {
}, noValidateMulti);
});
Migrations.add('add-subtasks-allowed', () => {
Boards.update({
allowsSubtasks: {
$exists: false,
},
}, {
$set: {
allowsSubtasks: -1,
},
}, noValidateMulti);
});