timetable-extension #1
@ -182,6 +182,7 @@ func CreateTimetableIndexes() error {
|
|||||||
},
|
},
|
||||||
Options: options.Index().SetName("find_by_headcode"),
|
Options: options.Index().SetName("find_by_headcode"),
|
||||||
},
|
},
|
||||||
|
// Add index for VSTP to allow deletion of non-VSTP only entries
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := coll.Indexes().CreateMany(context.Background(), indexModels)
|
_, err := coll.Indexes().CreateMany(context.Background(), indexModels)
|
||||||
|
Loading…
Reference in New Issue
Block a user