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 cdcc814b..fd7a4c5e 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 { EntityCache } from "../cache"; +import { BaseClass } from "./BaseClass"; import { User } from "./User"; @Entity("security_keys") -export class SecurityKey extends EntityCache { +export class SecurityKey extends BaseClass { @Column({ nullable: true }) @RelationId((key: SecurityKey) => key.user) user_id: string;