“Our brain’s own endogenous marijuana-like chemicals produce analgesia by modulating the entry of pain signals into the brain at the level of our spinal cord.
Future generations of pain relievers will likely be developed based upon the action of marijuana in the body.
The advantage of targeting the endogenous marijuana system is that only noxious or painful signals are blocked; normal touch sensation is normal.
This study may lead to the development of more effective migraine prevention and treatment.
The challenge will be to find a dose of marijuana that produces pain relief without disturbing normal cognitive function.”
https://www.psychologytoday.com/blog/your-brain-food/201309/marijuana-migraines
http://www.thctotalhealthcare.com/category/headachemigraine/