I see what you did
there, but I assume you mean "prefix the stored hash with the algorithm that was used", right?
I still don't know how this would help with a migration, though. They would still need to run both auth systems in parallel until every single user has logged in again - or force everyone to create a new password. Right?