Depends totally on your app. Are those categories relevant to all the models you listed, or every model has its own categories type?
You may use polumorphic relations for this, just as taggable
in the docs - be sure to read that http://laravel.com/docs/eloquent#polymorphic-relations
The categories are all on their own.
An other example: We have news photos. Both have comments. But there can only be one comments table!
What would you do?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community