Laravel: Pivot or not pivot?

  laravel, pivot, relationship

My project is credit analysis and sometimes a user will need a guarantor, which is also a user and a guarantor can be a guarantor more than once:

Like:

  • Tony is a user
  • Jacke is his guarantor
  • Maria is a user
  • Jackie is also her guarantor

It is a case of having a pivot table between user and guarantor?
Is guarantor just a role?

I am a little lost here…

Thanks in advance

Source: Laravel

Leave a Reply