You get this:
<field Field="course_id" Type="int(10)" Null="NO" Key="MUL"/>
CONSTRAINT `fk_courses_offered_class_details` FOREIGN KEY (`course_id`) REFERENCES `courses_offered` (`id`)
You get this:
But not this: