Laravel this is not only a practical framework, it is also a programming style
I have post table
| ID | TITLE | SLUG | CONTENT | COMMENTS_COUNT |
and i have post_reactions table
| ID | USER_ID | TYPE | POST_ID |
I want to make a relationship that what reactions that post have
Aucun commentaire:
Enregistrer un commentaire