diff options
Diffstat (limited to 'src/util/entities/Role.ts')
-rw-r--r-- | src/util/entities/Role.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Role.ts b/src/util/entities/Role.ts index 85877c12..2fb63e93 100644 --- a/src/util/entities/Role.ts +++ b/src/util/entities/Role.ts @@ -18,11 +18,11 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; -import { BaseClass } from "./BaseClass"; +import { EntityCache } from "../cache"; import { Guild } from "./Guild"; @Entity("roles") -export class Role extends BaseClass { +export class Role extends EntityCache { @Column({ nullable: true }) @RelationId((role: Role) => role.guild) guild_id: string; |