how to create a table composed of more than one model
I am in a situation where I have two data models that must join to create a table from their union, but I don't see a doc about it and I don't consider intuitive the way to do it, so if you can provide me info or a doc to read it would be very useful.
1 Reply
maybe use unions
https://laravel.com/docs/master/queries#unions
in
modifyQueryUsing
method
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#customizing-the-relation-manager-eloquent-query