mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01: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: {
|
listId: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -258,3 +258,15 @@ Migrations.add('add-assigner-field', () => {
|
||||||
}, noValidateMulti);
|
}, 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