add spielberg to the track list
This commit is contained in:
@@ -59,13 +59,4 @@ type StateHistory struct {
|
|||||||
SessionStart time.Time `json:"sessionStart"`
|
SessionStart time.Time `json:"sessionStart"`
|
||||||
SessionDurationMinutes int `json:"sessionDurationMinutes"`
|
SessionDurationMinutes int `json:"sessionDurationMinutes"`
|
||||||
SessionID uint `json:"sessionId" gorm:"not null"` // Unique identifier for each session/event
|
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"`
|
|
||||||
}
|
}
|
||||||
@@ -130,6 +130,7 @@ func seedTracks(db *gorm.DB) error {
|
|||||||
{Name: "watkins_glen", UniquePitBoxes: 30, PrivateServerSlots: 60},
|
{Name: "watkins_glen", UniquePitBoxes: 30, PrivateServerSlots: 60},
|
||||||
{Name: "valencia", UniquePitBoxes: 29, PrivateServerSlots: 50},
|
{Name: "valencia", UniquePitBoxes: 29, PrivateServerSlots: 50},
|
||||||
{Name: "nurburgring_24h", UniquePitBoxes: 50, PrivateServerSlots: 110},
|
{Name: "nurburgring_24h", UniquePitBoxes: 50, PrivateServerSlots: 110},
|
||||||
|
{Name: "red_bull_ring", UniquePitBoxes: 50, PrivateServerSlots: 50},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, track := range tracks {
|
for _, track := range tracks {
|
||||||
|
|||||||
Reference in New Issue
Block a user