Open kchapple opened 6 years ago
I am torn regarding this feaature. I cannot remember what it is that Laravel will "automagically" try to do if something ends in an 's'.
It is also very possible that the code generation is now so specific, that there is no reason to actually worry about this anymore, since many of the automagic things in Laravel have been shortcutted by explicitly specifying the defaults.
I think we should try to turn off this prevention mechanism and see if everything still works as expected. It is really a test problem rather than a code problem.
I do not want to worry about this for the 1.0 version. Changing this, and being wrong about Laravels future functionality creates potential "bugs on update"
Got an error running DURC:mine on default databases:
Fatal Error: northwind_model->orderStatus ends in an 's'. But Laravel tried to do smart things with plurals, which prevents autogenerated code from being easy. So for now, just rename your table so that it does not end in 's'