Skip to content

Commit e654529

Browse files
committed
feature: 수정된 User 모델 적용 (newsletter_subscribed 컬럼 추가)
1 parent 7613ef9 commit e654529

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/types/models/User.type.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export interface User {
1111
// 250607 추가
1212
username: string | null;
1313
thumbnail: string | null;
14+
// 251004 추가
15+
newsletter_subscribed: boolean;
1416
}
1517

1618

src/utils/fixtures.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const mockUser: User = {
3737
is_active: true,
3838
created_at: new Date('2024-01-01T00:00:00Z'),
3939
updated_at: new Date('2024-01-01T00:00:00Z'),
40+
newsletter_subscribed: true,
4041
};
4142

4243
/**

0 commit comments

Comments
 (0)