To create a script of your database model use the
Export option found under the
File menu. You may export a script to alter an
existing database or create a new database. The script to create a
database is similar to the one created using the
mysqldump db_name
command.
If you choose to create a database, there are a number of export
options that you may choose from.