I think you need to get some help. Migraines can be treated, but I'm not sure about the aviation medical implications. You might want to contact an aviation medicine consultant BEFORE you see your doc about getting treated. That way you will know the implications or creating a paper trail, and if treatments are better than others as far as certification.
I have used these guys, and there others too:
Virtual Flight Surgeons Inc. -- Your One Source for FAA Medical Certification Waiver Assistance!
But get some treatment in any case.