Declare it on your medical (that is, if required - can't remember the questions on the CAA medical) and take it from there.
By the way, not all migraines are resolved by triptans, so their failing to work is not a guarantee that it wasn't a migraine.