feat: Database Query Cache

This commit is contained in:
Samuel
2023-03-18 04:11:48 +01:00
parent 6c009c3b88
commit 366c4935a4
38 changed files with 444 additions and 126 deletions
+2 -2
View File
@@ -25,11 +25,11 @@ import {
RelationId,
} from "typeorm";
import { URL } from "url";
import { EntityCache } from "../cache";
import { deleteFile } from "../util/cdn";
import { BaseClass } from "./BaseClass";
@Entity("attachments")
export class Attachment extends BaseClass {
export class Attachment extends EntityCache {
@Column()
filename: string; // name of file attached