I don't think migraines have anything to do with IBD. I've met a few people in real life with UC and Crohns and they don't experience migraines.
I barely get a headache once in a blue moon yet my mothers suffers from frequent migraines ever so often and she doesn't have any IBD.
Also, I'm a guy if that matters. Somehow, I believe migraines are more of a female problem. But I have no data to back it up.
I beg to differ on a few points. Literature clearly points out comorbidity. The medical community is not interested because migraine/headache as whole is one of the most under-reported and under-diagnosed condition. Thanks to many OTC products. When you add conditions like other mental illness or gastrointestinal troubles, the recipe gets very complicated as you can not treat headache with OTC medications (without serious side effects) and only then the migraines are reported (that includes me too. I treated my migraines for a year and half myself before officially being diagnosed to get a Rx medicine for migraine).
When it comes to females, it is indeed true that ~65% migraneuers are women, only because of their homornal cycles. I did not research more that part of migraine so I can not comment. But that does not let us discount that ~35% are males.
Just check the signatures of the members here and you will see how many are migraine sufferers. It will be great if someone could perform an exclusive study connecting migraine and IBD.