Pregnancy query

My grandmother had diabeics, so is it possible that I can also be diabetic during my pregnancy ?