Hi all,
If I have 3 tables (users, organizations, guest) who share the same feature, it's ok to put user_id, organization_id and guest_id with "allow null" on feature table or I need to polymorph the feature's model ?
but what if your application grows and, you have 10 table to use "Feature"? thats why polymorph, only two fields for lot of table relations
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community