timetable-extension #1
@ -182,6 +182,12 @@ func CreateTimetableIndexes() error {
|
||||
},
|
||||
Options: options.Index().SetName("find_by_headcode"),
|
||||
},
|
||||
{
|
||||
Keys: bson.M{
|
||||
"serviceDetail.vstp": 1,
|
||||
},
|
||||
Options: options.Index().SetName("vstp"),
|
||||
},
|
||||
// Add index for VSTP to allow deletion of non-VSTP only entries
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user