mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Get rid of old implementation for substacks
This commit is contained in:
parent
cd36194477
commit
4ac6a507cd
7 changed files with 29 additions and 177 deletions
|
|
@ -282,3 +282,16 @@ Migrations.add('add-subtasks-boards', () => {
|
|||
},
|
||||
}, noValidateMulti);
|
||||
});
|
||||
|
||||
Migrations.add('add-subtasks-sort', () => {
|
||||
Boards.update({
|
||||
subtaskSort: {
|
||||
$exists: false,
|
||||
},
|
||||
}, {
|
||||
$set: {
|
||||
subtaskSort: -1,
|
||||
},
|
||||
}, noValidateMulti);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue