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
@@ -24,12 +24,12 @@ import {
OneToMany,
RelationId,
} from "typeorm";
import { BaseClass } from "./BaseClass";
import { EntityCache } from "../cache";
import { TeamMember } from "./TeamMember";
import { User } from "./User";
@Entity("teams")
export class Team extends BaseClass {
export class Team extends EntityCache {
@Column({ nullable: true })
icon?: string;