Yes It, wold be a good Idea . I managed making with Polymorphic Relation , with a Pivot Table called message_student .
In that Table , I did 4 colum , the - model_send_message , send_id , model_ received_message , received_id . And I did a Polymorphic Relation in the - model_send_message and in the received_message .
2 Polymorphic Relation at the same table . I dont know that wold be a good practice . but is working .
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us