fix: change migration condition

Vitalii Cherednichenko requested to merge cherednichenko/fix_125_migration into master

Merge request reports