Fix migration order