mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Merge pull request #2248 from andresmanelli/circular_migration
Rename migration to re run
This commit is contained in:
commit
dc4c4d9ade
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ Migrations.add('add-templates', () => {
|
|||
});
|
||||
});
|
||||
|
||||
Migrations.add('fix-circular-reference', () => {
|
||||
Migrations.add('fix-circular-reference_', () => {
|
||||
Cards.find().forEach((card) => {
|
||||
if (card.parentId === card._id) {
|
||||
Cards.update(card._id, {$set: {parentId: ''}}, noValidateMulti);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue