What were the 2 types of migration during the 18th century