The relationship between trade and migration since the 19th century

Has the relationship between trade and migration since the 19th century become increasingly problematic and detrimental to the welfare of society, or has it been beneficial?