Add puzzles to contests

This commit is contained in:
sto
2025-03-15 14:28:24 +01:00
parent eca2e46d23
commit 0cbd2e4fdc
10 changed files with 63 additions and 19 deletions

View File

@@ -1,3 +1,4 @@
class Contest < ApplicationRecord
belongs_to :user
belongs_to :user, dependent: :destroy
has_many :puzzles
end