schema - Propel ORM - how do I specify tables to reverse engineer? -
i have database few dozen tables. app deals 1 of tables. i'd propel generate schema table. there way can specify table(s) in build.properties?
a solution write own schema parser ignores tables. these tables exclude read config file or so.
take @ mysqlschemaparser.php idea of how such parser works. extend such existing parser , override parse()
method. when tables added, check them exclusion/inclusion , add them if meet subset criteria.
how create custom propel tasks described in propel cookbook.
instead of invoking propel-gen reverse
invoke customized reverse engineering task.
if done neatly, i'd find worth being added contribution propel project , you'd deserve fame that! :-)
Comments
Post a Comment