mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 07:57:55 +02:00
fix: Use correct field for index
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ import org.springframework.data.mongodb.core.mapping.Document
|
||||
import java.time.Instant
|
||||
|
||||
@Document
|
||||
@CompoundIndex(def = "{'eva': 1, 'dateTime': 1}", unique = true)
|
||||
@CompoundIndex(def = "{'eva': 1, 'hourAtDay': 1}", unique = true)
|
||||
data class BahnTimetable(
|
||||
var eva: Eva,
|
||||
var hourAtDay: HourAtDay,
|
||||
|
||||
Reference in New Issue
Block a user