[#73] Integrated repairing migration into another one in order to make it clearer