From 99b640d54b101123fa78c6acd88d256cc8083044 Mon Sep 17 00:00:00 2001 From: ali ebrahimi Date: Wed, 14 Aug 2024 13:57:17 +0330 Subject: [PATCH] Add type to emailConfirmedAt field --- src/entities/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/user.ts b/src/entities/user.ts index 0a0d3e17b..6fae47a1d 100644 --- a/src/entities/user.ts +++ b/src/entities/user.ts @@ -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 })