I'm not sure what is your question here but have you considered using polymorphic relationships? Check the documentation: https://laravel.com/docs/6.x/eloquent-relationships#polymorphic-relationships
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community