Skip to content

Commit

Permalink
Add type to emailConfirmedAt field
Browse files Browse the repository at this point in the history
  • Loading branch information
ae2079 committed Aug 14, 2024
1 parent 483543d commit 99b640d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class User extends BaseEntity {
emailConfirmationSentAt: Date | null;

@Field(_type => Date, { nullable: true })
@Column({ nullable: true })
@Column({ type: 'timestamptz', nullable: true })
emailConfirmedAt: Date | null;

@Field(_type => Int, { nullable: true })
Expand Down

0 comments on commit 99b640d

Please sign in to comment.