I've had migraines for 40 years, and suffered much before being prescribed Sumatriptan. It relieves the migraine completely in about 30min. Doesn't work for my wife who also has migraines but an alternate formulation, Rizatriptan, does. My migraines have also evolved over the years from intense day long affairs to duller 3-day ones. Sometimes I need a subcutaneous triptan shot which relieves it in, I kid you not, 1 minute.
I tried preventative medications but the cure seemed worse than the disease. One, Topiramate, made me forget things and lose my train of thought. No thank you.
I also tried keto for a while and noticed that I hardly had any migraines while on it.
There are a lot of options available now. If you suffer from migraines, go talk to a neurologist with current knowledge, not something they learned 30 years ago.