If he takes magnesium for his legs, it might also help with migraines. Vitamin B2 is also supposed to help some people.