magnesium for nausea/morning sickness?

I've been told magnesium supplements for nausea or morning sickness are great! Anyone tried this?