Migraines. . . . the very bane of my existence from childhood to about forty-five. At the age of forty-five my wife suggested using a food diary of my consuming overlaid with a diary of my migraine attacks.
Turns out they were metabolic reactions to dairy products, especially cream and powdered milk products, with deli meat preservatives contributing. After decades of heavy drugs (narcotics and sumatriptan) and bad advice, all I had to do was stop eating anything that got squeezed from a cow.
Fuck the dairy industry and the govt. collaborators.
Here's hoping your resolution is quicker and easier than mine was.