perf: add missing indexes on all foreign key columns (#2461)
This commit is contained in:
@@ -36,6 +36,7 @@ export class Blocklist implements BlocklistItem {
|
||||
@ManyToOne(() => User, (user) => user.id, {
|
||||
eager: true,
|
||||
})
|
||||
@Index()
|
||||
user?: User;
|
||||
|
||||
@OneToOne(() => Media, (media) => media.blocklist, {
|
||||
|
||||
Reference in New Issue
Block a user