What the history table files this under: a file's name, or a class's full name.
The name, not the path - so moving a migration between configured locations does not make it a new one.