Entropy theory of migration