Good luck at your doctor's. A lot of them don't seem to know about other treatments for migraines. They just give you the accepted prescription.
Here's something from the USDA website about magnesium.
http://www.ars.usda.gov/news/docs.htm?docid=10874