What triggered a migraine for me may have no effect on someone else. For many people, coffee can relieve symptoms somewhat, but for me it was a trigger. You really have to find out what affects you individually.