It is used for managing migraines