Skip to content

Commit

Permalink
Add birthday field to User entity with date type
Browse files Browse the repository at this point in the history
  • Loading branch information
shem8 committed Jan 9, 2025
1 parent f795a7a commit d1cf32e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/entities/user.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ export class User {

@UpdateDateColumn()
updatedAt: Date;

@Column({ type: 'date', nullable: true })
birthday: Date;
}

0 comments on commit d1cf32e

Please sign in to comment.