summary refs log tree commit diff
path: root/src/util/entities/SecurityKey.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/entities/SecurityKey.ts')
-rw-r--r--src/util/entities/SecurityKey.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/SecurityKey.ts b/src/util/entities/SecurityKey.ts

index fd7a4c5e..cdcc814b 100644 --- a/src/util/entities/SecurityKey.ts +++ b/src/util/entities/SecurityKey.ts
@@ -17,11 +17,11 @@ */ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; -import { BaseClass } from "./BaseClass"; +import { EntityCache } from "../cache"; import { User } from "./User"; @Entity("security_keys") -export class SecurityKey extends BaseClass { +export class SecurityKey extends EntityCache { @Column({ nullable: true }) @RelationId((key: SecurityKey) => key.user) user_id: string;