Rename migration to re run

This commit is contained in:
Andrés Manelli 2019-03-11 22:30:16 +01:00
parent 2ec1664408
commit a347ae3676

View file

@ -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);