horsegen: generate alternate races/saddles with ids

This commit is contained in:
2026-02-10 13:55:47 -05:00
parent b55e1bc200
commit a534975601
8 changed files with 393 additions and 390 deletions

View File

@@ -328,6 +328,7 @@ type Race struct {
Grade int
ThumbnailID int
Primary int
Alternate int
}
func Races(ctx context.Context, db *sqlitex.Pool) ([]Race, error) {
@@ -357,6 +358,7 @@ func Races(ctx context.Context, db *sqlitex.Pool) ([]Race, error) {
Grade: stmt.ColumnInt(2),
ThumbnailID: stmt.ColumnInt(3),
Primary: stmt.ColumnInt(4),
Alternate: stmt.ColumnInt(5),
}
r = append(r, race)
}