Skip to content

Commit

Permalink
#87 fix: Follow 대체키 수정
Browse files Browse the repository at this point in the history
id -> Long 타입
token -> String 타입
  • Loading branch information
rivkode committed Jun 10, 2024
1 parent 8ad9810 commit 991defe
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
public class Follow extends BaseTime {
@Id
@Column(name = "follow_id")
private String id;
private Long id;

@Column(name = "follow_token")
private String followToken;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "follower_id")
Expand All @@ -29,7 +32,7 @@ public class Follow extends BaseTime {
private FollowStatus status;

@Builder
public Follow(String id, User follower, User following) {
public Follow(Long id, User follower, User following) {
this.id = id;
this.follower = follower;
this.following = following;
Expand Down

0 comments on commit 991defe

Please sign in to comment.