Lots of changes

This commit is contained in:
2023-12-02 22:16:16 -05:00
parent 16704aeeb1
commit c5df026d04
16 changed files with 135 additions and 122 deletions

17
models/test.go Normal file
View File

@ -0,0 +1,17 @@
package models
import (
"gorm.io/gorm"
)
type Test struct {
gorm.Model
DateTag string
// belongs to hardware
HardwareID int
Hardware Hardware
// many-to-many benchmarks
Benchmarks[] Benchmark `gorm:"many2many:tests_benchmarks;"`
}