When coding migrations, we usually used "skipIf" method in case of "the state of the PIM is already migrated". This method skips the migration, that's OK, but it did not add it as "executed". Each time we will try to re-execute migrations, we will try to re-execute theses ones.
This is not a good practice ! "skipIf" means "skip and retry later".
The solution
Don't use "skipIf" ! Return is OK, it will mark migration as executed.
The issue
When coding migrations, we usually used "skipIf" method in case of "the state of the PIM is already migrated". This method skips the migration, that's OK, but it did not add it as "executed". Each time we will try to re-execute migrations, we will try to re-execute theses ones. This is not a good practice ! "skipIf" means "skip and retry later".
The solution
Don't use "skipIf" ! Return is OK, it will mark migration as executed.