Symfony YAML MySQL Workbench Plugin
I have developed a MySQL Workbench Plugin to export directly to a Symfony schema.yml file. The conversion includes all tables, relations, foreign keys, foreign key cascades, indexes and uniques that you enter into your model.
Download the attached file and install into your modules directory of MySQL Workbench. If you installed into the default location then this will be
C:\Program Files\MySQL\MySQL Workbench 5.0 OSS\modules\
Now when you run MySQL Workbench you will get two new entries in the Plugins->Catalog Menu:
Copy Symfony YAML To Clipboard
This action converts all of the tables and relations in the current project into Symfony YAML format, Then copies the source to the clipboard.
Export Symfony YAML To File
This action converts all of the tables and relations in the current project into Symfony YAML format, Then allows you to select a file (if not already selected) and save the source to disk. (It gives the possibilty to insert a filename, but where is that file stored? Thanks, appreciate your work and sorry for hijacking this page.)
You should then perform a model update.
note: At this moment in time there is no way to identify I18n elements in MySQL Workbench.
* when you don't have new menu entries, check exception by choosing View->Advanced->GRT Shell.