refatorando migrations