perf: add missing indexes on all foreign key columns (#2461)

This commit is contained in:
fallenbagel
2026-02-16 21:36:55 +05:00
committed by GitHub
parent 6076878f76
commit c6bcfe0ae4
10 changed files with 394 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ export class Blocklist implements BlocklistItem {
@ManyToOne(() => User, (user) => user.id, {
eager: true,
})
@Index()
user?: User;
@OneToOne(() => Media, (media) => media.blocklist, {