perf(server): Add isSensitive index to improve query performance
This commit is contained in:
@ -145,6 +145,7 @@ export class DriveFile {
|
||||
@JoinColumn()
|
||||
public folder: DriveFolder | null;
|
||||
|
||||
@Index()
|
||||
@Column('boolean', {
|
||||
default: false,
|
||||
comment: 'Whether the DriveFile is NSFW.'
|
||||
|
Reference in New Issue
Block a user