Migration order to nodejs