Double-clicking the Add table icon in the
Physical Schemata section of the MySQL
Model page adds a table with the default name of
table1. If a table with this name already
exists, the new table is named table2.
Adding a new table automatically opens the table editor docked at the bottom of the application. For information about using the table editor, see Section 8.1.11, “The MySQL Table Editor”.
Right-clicking a table opens a context menu with the following items:
: Cut a table to optionally paste it into another schema.
: Copy a table to optionally paste it into another schema.
: Paste a cut or copied table. The Paste option is also accessible from the main menu.
: Changes the docked table editor to the selected table.
: Opens the table in a new table editor tab.
: Copies a
CREATE TABLEstatement for the table.: Copies a comma-separated list of column names.
: Copies
INSERTstatements based on the model's inserts. Nothing is copied to the clipboard if the table has no inserts defined.: Copies a generic
INSERTstatement that is based on the model.-
: Remove a table from the database.
WarningThis immediately deletes the table without a confirmation dialog box.
If the table editor is not open, the item opens it. If it is already open, the selected table replaces the previous one. opens an additional table editor tab.
Any tables added to the Physical Schemata
section also show up in the Catalog palette on
the right side of the application. They may be added to an EER
Diagram by dragging and dropping them from this palette.