mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-06 16:53:58 +09:00
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