Propacetamol is either equivalent or superior in efficacy to rizatriptan for treating acute migraine attacks , while having the advantage of parenteral administration in patients whose migraines are accompanied by nausea and vomiting .