Let
3469
20
Eloquent

Laravel table names are plural by default

Posted 3 years ago by Let

Why tables in Laravel Eloquent are by default in plural ? https://laravel.com/docs/5.1/eloquent#defining-models

Conventions want it to be in singular. http://stackoverflow.com/a/5841297/2559851

It would be better to have a general config for this.

Thank you.

Please sign in or create an account to participate in this conversation.