MySQL Workbench

9.1.1.6 The SQL Scripts Panel

Use the SQL Scripts panel to attach SQL scripts to the model for documentation and organizational purposes, and optionally these attachments can be included in the output script when performing forward engineering or model/schema synchronization. The following figure shows the options available to customize the placement of attached SQL Scripts.

If you created your project from an SQL script and plan to create an ALTER script, you may want to add the original script here, because it will be needed to create an ALTER script. For more information, see Section 9.4.1.1.2, “Altering a Schema”.

Note

The ability to use the attachments when performing forward engineering and synchronization was added in MySQL Workbench 6.2.0.

Figure 9.9 SQL Scripts Editor

Content is described in the surrounding text.