Your comments

When generating the SQL for a selected table, the constraints are not generated in the script.  They are only generated with you generated the whole model.