During an epidermal injection there's a risk known as tearing the thecal sac which results in the feeling that a hand grenade went off in the head.
The first round of attempt at abatement is called a blood patch.
Ignore all the medical jargon; it's moot.
When all else fails, they brew up the strongest coffee they can make. It causes the blood vessels in the brain to constrict thereby relieving pressure in the brain. I know nothing about migranes, their causes, cures, etc. Maybe someone can look into this or if nothing else, if you have a migrane, go to the store and buy finely ground coffee under the label Cuban Coffee or Espresso and brew up a concoction and see if it helps.
Well wishes.