Aggiunge i tornei con hub, pagina pubblica e tabellone per semifinali e finali.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class TournamentBroadcastAssignment < ApplicationRecord
|
||||
belongs_to :tournament
|
||||
belongs_to :match
|
||||
belongs_to :user
|
||||
belongs_to :invitation, class_name: "TournamentBroadcastInvitation", optional: true
|
||||
|
||||
validates :user_id, uniqueness: { scope: :match_id }
|
||||
end
|
||||
Reference in New Issue
Block a user