Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/stackpot/stackpot/user/entity/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class User extends BaseEntity implements UserDetails{
@Enumerated(EnumType.STRING)
private Provider provider;

@Column(nullable = false)
@Column(nullable = true)
private String providerId;

@Column(nullable = false)
Expand Down Expand Up @@ -108,7 +108,7 @@ public Long getUserId() {
public void deleteUser() {
this.isDeleted = true;
this.nickname = "(알 수 없음)"; // 표시용 변경

this.providerId = null;
if (this.roles != null) {
this.roles.clear(); // 기존 역할 초기화
}
Expand Down