What has that to do with frightening a herd of pigs over a cliff, to no good purpose? There is no suggestion Jesus compensated the farmer for their loss.
If memory serves, the biblical account says the Jesus exorcised a man who was possessed by many demons, who frequently threw him to the ground, as indeed they did when he met Jesus. the demons, having been banished, fled into a nearby herd of pigs, and drove then over a cliff. A non-supernatural version might be that the man was an epileptic, and had a fit in front of Jesus, who, assuming demon possession, as one would in those days, admonished the demons. The man's fit came to a natural end, but his thrashing around frightened the pigs, which stampeded. In neither account, biblical or naturalistic, did Jesus deliberately drive the pigs over the cliff.