Medication during pregnancy

Hello all! Does anybody know if tramadol is safe during pregnancy? I have been taking it for several years for severe chronic pain due to a car accident and multiple surgeries for osteomyelitis. I haven't had my first prenatal appointment yet because its still very early. I do plan on speaking with my ob about my medications. I just wanted to get some opinions and thoughts from the ladies on this app. Thank you.