thanks for your feedback. TDM allows you to export meta data to XML, CSV, TXT, XSD… and other formats via XSL Transformations. I looked at YAML and Propel and wrote two simple (don’t expect fully functional output) templates that converts meta data from MySQL models to XML-propel or YAML format.
Both XSL templates can be used for inspiration and further developement. The current outputs will only contain data related to tables and columns, nothing else. You (or I, but later) can add instructions for processing PK, FK, unique attributes, indexes… etc.
What I see as an advantage in comparison with “back-generated” yaml files is, that you can define logical information in TDM (Captions) and then use the data for phpName values. I used them in the sample XSL templates.
How does it work?
Download the files, extract them from zip archives, then copy the files to:
C:\program files\quest software\toad data modeler 3\xsl
Open your MySQL model and click Model | Reports / XSL transformations. New dialog opens. Select one of the two new items and generate either XML or Yaml file by clicking on the Transform button.
I hope it helps
yaml.zip (1.38 KB)