mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Add UI for importing card-as-card and board-as-card
This commit is contained in:
parent
193af893ee
commit
dcc7b2970f
8 changed files with 199 additions and 1 deletions
|
|
@ -213,6 +213,17 @@ Migrations.add('add-profile-view', () => {
|
|||
});
|
||||
});
|
||||
|
||||
Migrations.add('add-card-types', () => {
|
||||
Cards.find().forEach((card) => {
|
||||
Cards.direct.update(
|
||||
{ _id: card._id },
|
||||
{ $set: {
|
||||
type: 'cardType-card',
|
||||
importedId: null } },
|
||||
noValidate
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('add-custom-fields-to-cards', () => {
|
||||
Cards.update({
|
||||
customFields: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue