Revamp migrations