The script table doesn't include the primary key or any of the other indexes on the table.
Steps to reproduce the problem:
1]Go to the Schema Browser
2]Select a table with primary key and indexes
3]On the right panel, select the "Script" tab
The script doesn't contain the primary keys and the indexes of the table
To see the primary keys and the indexes follow the steps below:
1] Click on the first icon you will see on the script tab (view/Edit script options). A new window will appear.
2] Go to the table tab of this window
3] Select the options you would like to add to the script (In this case indexes and primary keys)