diff options
Diffstat (limited to 'src/util/entities/ValidRegistrationTokens.ts')
-rw-r--r-- | src/util/entities/ValidRegistrationTokens.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/ValidRegistrationTokens.ts b/src/util/entities/ValidRegistrationTokens.ts index 00839324..7db66c1d 100644 --- a/src/util/entities/ValidRegistrationTokens.ts +++ b/src/util/entities/ValidRegistrationTokens.ts @@ -4,10 +4,10 @@ import { BaseEntity, Column, Entity, PrimaryColumn } from "typeorm"; export class ValidRegistrationToken extends BaseEntity { @PrimaryColumn() token: string; - + @Column() created_at: Date = new Date(); @Column() expires_at: Date; -} \ No newline at end of file +} |