If the migraine is triggered by flickering, there are "special" flicker free bulbs, dimmers and power supplies/drivers (actually I think they make the flickering at a very high frequency, 1250 Hz or more instad of the "normal" 100-120 Hz).
I read that there are glasses with special lenses that may help, but of course it depends on the specific case, I know that there also filters (to be applied to lighting fixtures) but I have not any experience with them.
And stock up on triptans. I have pressure and hormonal migraines, so suffering is my only option and it sucks.
See item #10 - Naja https://brainworldmagazine.com/10-natural-remedies-pain-reli...
May be caused by magnesium deficiency? https://www.huffpost.com/entry/magnesium-the-most-powerf_b_4...