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”.
The ability to use the attachments when performing forward engineering and synchronization was added in MySQL Workbench 6.2.0.