Correct order of migration actions