This commit is contained in:
@ -3,6 +3,7 @@
|
||||
# Benchmark - database model for PC benchmarks
|
||||
class Benchmark < Sequel::Model
|
||||
|
||||
many_to_many :tests
|
||||
one_to_many :results
|
||||
|
||||
end
|
||||
|
@ -5,6 +5,6 @@ class Test < Sequel::Model
|
||||
|
||||
one_to_many :result
|
||||
many_to_one :hardware
|
||||
many_to_many :benchmark
|
||||
many_to_many :benchmarks
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user