What does the migration file do?

Exactly as the title says or rather what do these migration do if anything?

When savegame is loaded certain entities (which are not in the game) from migration.json are transformed to other entities (which are still in the game).

When savegame is loaded certain entities (which are not in the game) from migration.json are transformed to other entities (which are still in the game).[/quote]
Oh. Neat. So I guess another question would be why can’t I change the mod location of the combat/fighting knives or rather why are those specific ids when used as weapon mods stock to the underbarrel slot?