Get rid of old implementation for substacks

This commit is contained in:
Nicu Tofan 2018-06-24 00:21:23 +03:00
parent cd36194477
commit 4ac6a507cd
No known key found for this signature in database
GPG key ID: 7EE66E95E64FD0B7
7 changed files with 29 additions and 177 deletions

View file

@ -282,3 +282,16 @@ Migrations.add('add-subtasks-boards', () => {
},
}, noValidateMulti);
});
Migrations.add('add-subtasks-sort', () => {
Boards.update({
subtaskSort: {
$exists: false,
},
}, {
$set: {
subtaskSort: -1,
},
}, noValidateMulti);
});