Magnesium Citrate

Is this safe during pregnancy? Anyone use it before? TMI but I’m so constipated. I want something stronger than Miralax