migrations coode from aprendiendocodigo.com