Add completions
This commit is contained in:
7
app/models/completion.rb
Normal file
7
app/models/completion.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class Completion < ApplicationRecord
|
||||
belongs_to :contest
|
||||
belongs_to :contestant
|
||||
belongs_to :puzzle
|
||||
|
||||
validates :time_seconds, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user