Skip to content

Commit

Permalink
Merge pull request #26 from 9oormthon-univ/feature/GOORM-2-kakao-login
Browse files Browse the repository at this point in the history
[GOORM-2]-User 테이블 구조 변경
  • Loading branch information
Junghs21 authored Nov 23, 2024
2 parents 19f6edc + 5fc6f68 commit 765e398
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,17 @@ public class User {
@Column(length = 255)
private String profileImageUri;

@Column(length = 255)
private String email;

@PrePersist
public void prePersist() {
if(this.activated == null) {
this.activated = true;
}
}

public void updateEmail(String email) {
this.email = email;
}
}

0 comments on commit 765e398

Please sign in to comment.