add some indices to increase performance
This commit is contained in:
@@ -7,12 +7,14 @@ export type LogEntryDocument = LogEntry & Document;
|
||||
export class LogEntry {
|
||||
@Prop({
|
||||
required: true,
|
||||
index: true,
|
||||
type: String,
|
||||
})
|
||||
component: string;
|
||||
|
||||
@Prop({
|
||||
required: true,
|
||||
index: true,
|
||||
enum: ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
|
||||
type: String,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user