You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the library I used to pluralize table names adds an 's' to the plural form of children (of course it does not have a plural form). I thought It was smart enough as not to add an 's'. I've made a quick fix for this. Thanks!
Just came across a minor thing...
In my project there is a table called "children". In the schema, the following foreign key is created:
$table->foreign('individual_id')->references('id')->on('individuals')->onDelete('cascade');
The "child" model is created correctly with your script. However, in the "individual" model the following function is created:
Have manually renamed "childrens" to "children" so no problem.
The text was updated successfully, but these errors were encountered: