Search code examples
phplaravelpolymorphismrelationship

Polymorphic relations taggable_type


since i am working on existing database and can't change Data how do i insert in the relation that the taggable_type is (Firm) and not the default (App\firm)

Thanks


Solution

  • It was in the documentations :s

    here