Skip to content

Commit

Permalink
merge #117: user 컬럼명 type → socialType으로 수정
Browse files Browse the repository at this point in the history
[fix] user 컬럼명 type → socialType으로 수정
  • Loading branch information
yaongmeow authored Nov 23, 2023
2 parents 80fe840 + cf4fa71 commit c24aca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/users/entities/user.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export class User {
postings: Posting[];

@ManyToOne(() => SocialLogin, (socialLogin) => socialLogin.users)
@JoinColumn({ name: 'type', referencedColumnName: 'id' })
@JoinColumn({ name: 'socialType', referencedColumnName: 'id' })
socials: SocialLogin;
}

0 comments on commit c24aca2

Please sign in to comment.