Added back reference associations for result; added table of results to test view

This commit is contained in:
2025-07-14 13:53:50 -04:00
parent 26ad420436
commit de107761eb
5 changed files with 39 additions and 5 deletions

View File

@ -14,5 +14,8 @@ type Test struct {
Hardware Hardware
// many-to-many benchmarks
Benchmarks[] Benchmark `gorm:"many2many:tests_benchmarks;"`
Benchmarks []Benchmark `gorm:"many2many:tests_benchmarks;"`
// has many results
Results []Result
}