perf: add database indexes & minor frontend/backend improvements (#2396)

This commit is contained in:
fallenbagel
2026-02-09 17:06:53 +05:00
committed by GitHub
parent 186998b888
commit a44a3b1e14
11 changed files with 389 additions and 9 deletions

View File

@@ -21,6 +21,7 @@ import {
AfterUpdate,
Column,
Entity,
Index,
ManyToOne,
OneToMany,
PrimaryGeneratedColumn,
@@ -513,6 +514,7 @@ export class MediaRequest {
public id: number;
@Column({ type: 'integer' })
@Index()
public status: MediaRequestStatus;
@ManyToOne(() => Media, (media) => media.requests, {