Skip to content

Commit

Permalink
refactor: 네이밍 관련 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
yaongmeow committed Nov 22, 2023
1 parent 69c8a74 commit c631a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions BE/src/users/entities/user.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
ManyToOne,
JoinColumn,
} from 'typeorm';
import { SocialLogin } from './social.entity';
import { SocialLogin } from './social-login.entity';

@Entity()
export class User {
Expand All @@ -25,8 +25,8 @@ export class User {
@Column({ length: 255, name: 'resource_id' })
resourceId: string;

@Column({ type: 'int' })
type: number;
@Column({ type: 'int', name: 'social_type' })
socialType: number;

@OneToMany(() => Liked, (liked) => liked.users)
likeds: Liked[];
Expand Down

0 comments on commit c631a09

Please sign in to comment.