The conversion of the source schema to a MySQL schema occurs in
the lines immediately following the comment -- Do
the reverse engineering
. This calls the GRT reverse
engineering module to convert from the current schema type to the
target type.
To convert GRT objects to Lua values requires using the
toLua
method. Future versions of the GRT may
overload the assignment operator.
The reverse engineering modules used by the MySQL Migration Toolkit are also used by the MySQL Workbench.