demerol usually does it for migraines...but I'm surprised they didn't give you a shot of Phenergan with it to stop the nausea and keep the demerol in your system.....it really is the ****...I used to suffer from migraines so badly that at one point the MRI'd me for brain tumors...I would crawl on the floor on all fours drooling and squinney had to move me around like a limp dog....the imitrex didn't work for me either and shot my heart rate up dangerously high.....What finally worked for me, IF I could catch the headache at the onset...was plain old fioricet in combination with a Goody's powder which stopped it dead, unless it was one of those kind that came on to quickly and even then it would stop it within an hour.......
Strangely enough, when I started working out and running every day, I haven't had a headache since.....except for the occasional mild hangover, and that's a whole different thing, but even they only last about 30 minutes.
Ask your doctor about the fioricet. I suspect the Goody's combo thing has more to do with the large amounts of caffeine in it which delivers it quickly.
Also next time you get demerol or anything with codeine, tell 'em you want some phenergan to stop the nausea. It works.
BTW, I once tried getting stoned to see if that helped the migraine...then I had a migraine AND I was stoned. Buzz kill city.