I do not think there is a solution that you would like. I know only two options -
reset all user passwords and send them an e-mail, informing them that this was done (and, preferably, why they donβt worry so much)
when each user logs in, check the old hash system that you had, if it checks, create a new bcrypt hash in a new column, then delete the old, less secure hash and start the slow migration this way.
The mathematical strength needed to create a rainbow table to move around is unlikely.
Steve gula
source share