It is a shame not to use Eloquent to manage relations with enum tables (or any other one). From my point of view it is not annoying to have many models, simply well organize them.
Enum tables and models. What do you guys do for naming conventions?
So, I was recently taking a stroll through the database structure of one of my projects, and even though I lived and breathed this project for months, my gut reaction was "what.... the... fuck....". Tables, tables everywhere.
But after inspecting them, I realized most of them are harmless enum tables, which got me thinking, why shouldn't I name enum tables as such? And that got me thinking even more, should I use Eloquent models for those enum tables to make all of my queries stay in Eloquent land, or should I suck it up and use Eloquent models only for my main data entities, and then use joins to get the enum data I need?
What do you guys do to keep your databases organized and models from proliferating?
Please or to participate in this conversation.