Add puzzles to contests
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
class Contest < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :user, dependent: :destroy
|
||||
has_many :puzzles
|
||||
end
|
||||
|
Reference in New Issue
Block a user