Skip to content

Commit 9cdff40

Browse files
authored
Merge pull request #259 from boostcampwm-2024/dev
userEnity 변경 적용
2 parents 59e7870 + 7650e6e commit 9cdff40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

back/src/domains/user/entity/user.entity.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ export class User {
1010
@Column({ type: 'varchar', length: 255, name: 'login_id' })
1111
loginId: string;
1212

13-
@Column({ type: 'varchar', length: 255, name: 'login_password' })
14-
loginPassword: string;
13+
@Column({ type: 'varchar', length: 255, name: 'login_password', nullable: true })
14+
loginPassword: string | null;
1515

1616
@Column({ type: 'varchar', length: 10, name: 'role' })
1717
role: string;
1818

19-
@Column({ type: 'boolean', name: 'is_guest' })
19+
@Column({ type: 'boolean', name: 'is_guest', default: 0 })
2020
checkGuest: boolean;
2121

2222
@OneToMany(() => Reservation, (reservation) => reservation.user, { lazy: true })

0 commit comments

Comments
 (0)