add some indices to increase performance

This commit is contained in:
Sven Czarnian
2022-10-23 14:58:04 +02:00
parent 0535873da0
commit ad843e4706
3 changed files with 5 additions and 1 deletions

View File

@@ -10,8 +10,9 @@ export type PerformanceDocument = Performance & Document;
@Schema()
export class Performance {
@Prop({
type: String,
required: true,
index: true,
type: String,
})
icaoCode: string;