Laravel two references to same table
I have a transactions tables with sender_id and receiver_id columns which are both references of user.
now, I want to create a hasMany relationship for the user.
(all user’s transaction, be it,received or sent)
from Laravel Questions and Answers https://laravelquestions.com/laravel/laravel-two-references-to-same-table/
via Lzo Media
No comments:
Post a Comment