Relation Manager for pivot table

Hi everyone! Could do with some guidance please.

I have the following models:
  1. Sites
  2. Services
  3. Contractors
I have a pivot table called site_services_contractors that has the following:

site_id,
service_id,
contractor_id

The idea being that for a specific site we can record which contractor carries out a particular service.

I'm trying to set this up as a relation manager in Filament but I can't seem to get it working.

Has anyone done anything similar to this before?
Was this page helpful?