mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
- Remove broken customFields references.
Thanks to Clement87 and Akuket !
This commit is contained in:
parent
25ab20bcb4
commit
00eeb86332
1 changed files with 8 additions and 0 deletions
|
|
@ -342,3 +342,11 @@ Migrations.add('remove-tag', () => {
|
||||||
},
|
},
|
||||||
}, noValidateMulti);
|
}, noValidateMulti);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Migrations.add('remove-customFields-references-broken', () => {
|
||||||
|
Cards.update(
|
||||||
|
{'customFields.$value': null},
|
||||||
|
{$pull: {customFields: {value: null}}},
|
||||||
|
noValidateMulti,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue