Home>

1
https://github.com/yozakura1379/furima-31035
I cloned the flea market apps.
I want to implement a like function on the user's detail page
I want to add a like function, but when I look it up, I can only find a like function for the posted one.

2Error message
I want to add a like function to a user, but when I look it up, I can only find a like function for what I posted.
I would like you to teach me how to do it.
Or it would be helpful if you could tell me the site about it

  • Answer # 1

    Make a new table
    ・ Liked user id
    ・ Liked user id
    And make a column.

    I think you should read and write the table.

Related articles