What a week indeed!!! I hope you and your cat will soon be back in good shape.
As for the migraines, go up to SEARCH at the top of the page and look for Migraines. There is a long series of comments on them, from me also, since I've suffered for many years with them.
There's lots of help there, hope something will catch your eye and be helpful. But first of all, when you feel one coming on, start a diary of what you ate, starting about 3 days before. Everything you ate and drank, if you were tired or angry, etc. Soon you should begin to see a pattern which will help avoid such things.