Adds migrate command