Not enough information and no test case.
Schema migration (update) has undergone a major overhaul in 5.0. And in fact it was not even really supported prior to that. If you can reproduce this using 5.0 please open a new issue.