GitHub - josezenem/laravel-make-migration-pivot: This will allow you to create pivot table migration files using the new Laravel 9 closure migration format by simply passing two models.
![eloquent - Laravel Polymorphic Many-to-Many relationship pivot table with relationship to another Model - Stack Overflow eloquent - Laravel Polymorphic Many-to-Many relationship pivot table with relationship to another Model - Stack Overflow](https://i.stack.imgur.com/vp6b5.png)
eloquent - Laravel Polymorphic Many-to-Many relationship pivot table with relationship to another Model - Stack Overflow
![eloquent - Laravel Polymorphic Many-to-Many relationship pivot table with relationship to another Model - Stack Overflow eloquent - Laravel Polymorphic Many-to-Many relationship pivot table with relationship to another Model - Stack Overflow](https://raw.githubusercontent.com/ricardov03/polyrelations/main/resources/images/PolyRelations.png)