Just for curiosity sake, before this is deleted by the admins,
this study linked triptans to preterm birth but did not find it to be a teratogen.
This one recommends triptans as safe in the case of serious migraines in pregnant and lactating women.
But as always, consult your doctor.