Fixed migrate command