vanstyn / RapidApp

Turnkey ajaxy webapps
http://rapi.io
Other
48 stars 15 forks source link

Fix table monikers generated by RapidApp bootstrap (#184) #193

Closed sammakkoinen closed 3 years ago

sammakkoinen commented 3 years ago

This fixes #184 by using the default moniker provided by DBIx::Class::Schema::Loader as the base for further transformations (instead of the table name). Note that this solution addresses only the specific case described in #184 (plural/singular in class names) and still does not make rapidapp.pl and model_DB_updater.pl generate exactly the same thing. Since the special code for tables ending in '+' is still not executed by model_DB_updater.pl.

vanstyn commented 3 years ago

thanks!