diff --git a/local/model/stateHistory.go b/local/model/stateHistory.go index 845a02e..11fd3cc 100644 --- a/local/model/stateHistory.go +++ b/local/model/stateHistory.go @@ -59,13 +59,4 @@ type StateHistory struct { SessionStart time.Time `json:"sessionStart"` SessionDurationMinutes int `json:"sessionDurationMinutes"` SessionID uint `json:"sessionId" gorm:"not null"` // Unique identifier for each session/event -} - -type RecentSession struct { - ID uint `json:"id"` - Date time.Time `json:"date"` - Type string `json:"type"` - Track string `json:"track"` - Duration int `json:"duration"` - Players int `json:"players"` } \ No newline at end of file diff --git a/local/utl/db/db.go b/local/utl/db/db.go index 6e34275..dc0b654 100644 --- a/local/utl/db/db.go +++ b/local/utl/db/db.go @@ -130,6 +130,7 @@ func seedTracks(db *gorm.DB) error { {Name: "watkins_glen", UniquePitBoxes: 30, PrivateServerSlots: 60}, {Name: "valencia", UniquePitBoxes: 29, PrivateServerSlots: 50}, {Name: "nurburgring_24h", UniquePitBoxes: 50, PrivateServerSlots: 110}, + {Name: "red_bull_ring", UniquePitBoxes: 50, PrivateServerSlots: 50}, } for _, track := range tracks {