Skip to content

Commit

Permalink
fix : delete friend
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Jan 8, 2024
1 parent 8236fe4 commit f25939b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.investment.findfriend.domain.file.domain.File;
import com.investment.findfriend.domain.friend.domain.Friend;
import com.investment.findfriend.domain.likes.domain.Likes;
import jakarta.persistence.*;
import lombok.*;

Expand Down Expand Up @@ -30,4 +31,7 @@ public class Feed {

@OneToOne
private File file;

@OneToMany(cascade = CascadeType.ALL)
private List<Likes> likes;
}

0 comments on commit f25939b

Please sign in to comment.