• It appears to be not handling foreign keys properly and scripting them up as Primary keys.