This commit is contained in:
		
							parent
							
								
									8e325339bf
								
							
						
					
					
						commit
						728e8f89e2
					
				| @ -182,6 +182,12 @@ func CreateTimetableIndexes() error { | |||||||
| 			}, | 			}, | ||||||
| 			Options: options.Index().SetName("find_by_headcode"), | 			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 | 		// Add index for VSTP to allow deletion of non-VSTP only entries | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user