I've had migraines since I was ten years old. One of the few things that helps, on top of sleeping... is cannabis(figured it out when i was about 22). Any heavy hitting indica recommended for pain management may help: God's Gift(HB I Dominant), Blue Dream(HB), Headband,

It's not 100% though. Sometimes puking or sleeping is the only thing that helps.