Hello, Firstly, commiserations on suffering from migraine - it is a nasty illness. Regarding safety with an operation, you need to be guided by your surgical and anaesthetic team, and it will probably depend on the severity of your attacks and the nature of your surgery. If you suffer from severe neurological symptoms then you might be advised to defer. For some sufferers, nausea and vomiting are a significant issue and as a surgeon I would worry about that post op, in case it increased your risk of bleeding. You probably need to optimise your preventative medication and then be guided by your surgical team Best wishes
By in large, this should not be a problem, but the call will be made by the anesthesia provider. So long as your symptoms are limited to headache, and don't include visual disturbances, chances are your surgery will proceed as scheduled. All the best.