Ticket #844 (closed defect: fixed)
generateModelsFromDb does not allow singularizing class names
| Reported by: | zomg | Owned by: | lsmith |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.10.4 |
| Component: | Import/Export | Version: | 0.10.0 |
| Severity: | Keywords: | ||
| Cc: | Has Test: | ||
| Status: | Has Patch: |
Description
Doctrine::generateModelsFromDb does not allow using any of the typical options allowed by other model generation methods, and it also does not singularize table names in the model classes.
The attached patches allow passing $options to generateModelsFromDb and modify importSchema so that it's possible to not singularize table names (default behavior = always singularize)
Changes do not break any tests.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.