Added back reference associations for result; added table of results to test view
This commit is contained in:
@ -11,5 +11,8 @@ type Benchmark struct {
|
||||
Description string
|
||||
|
||||
// many-to-many test
|
||||
Tests[] Test `gorm:"many2many:tests_benchmarks;"`
|
||||
Tests []Test `gorm:"many2many:tests_benchmarks;"`
|
||||
|
||||
// has many results
|
||||
Results []Result
|
||||
}
|
||||
|
Reference in New Issue
Block a user