Medicine for ocular migraines