diff options
author | Samuel <34555296+Flam3rboy@users.noreply.github.com> | 2023-03-18 04:11:48 +0100 |
---|---|---|
committer | Samuel <34555296+Flam3rboy@users.noreply.github.com> | 2023-03-18 04:11:48 +0100 |
commit | 366c4935a42d5056c51cdbd7c82c2674f1b8b128 (patch) | |
tree | 7c3cdc444536d8b1065c9f98d96355d0f5276704 /src/util/entities/Channel.ts | |
parent | fix: package-lock.json (diff) | |
download | server-366c4935a42d5056c51cdbd7c82c2674f1b8b128.tar.xz |
feat: Database Query Cache
Diffstat (limited to 'src/util/entities/Channel.ts')
-rw-r--r-- | src/util/entities/Channel.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts index 1f128713..1cad928b 100644 --- a/src/util/entities/Channel.ts +++ b/src/util/entities/Channel.ts @@ -24,7 +24,7 @@ import { OneToMany, RelationId, } from "typeorm"; -import { BaseClass } from "./BaseClass"; +import { EntityCache } from "../cache"; import { Guild } from "./Guild"; import { PublicUserProjection, User } from "./User"; import { HTTPError } from "lambert-server"; @@ -70,7 +70,7 @@ export enum ChannelType { } @Entity("channels") -export class Channel extends BaseClass { +export class Channel extends EntityCache { @Column() created_at: Date; |