Councillors passed a motion that responds to the growing concern about a rise in anti-migrant and racist rhetoric in recent years.