Set up association and models
This commit is contained in:
parent
a1ce39643b
commit
c9ae859bcf
5 changed files with 32 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ class Program < ApplicationRecord
|
|||
|
||||
has_many :cfps, dependent: :destroy
|
||||
has_many :event_types, dependent: :destroy
|
||||
has_many :booth_types, dependent: :destroy
|
||||
has_many :tracks, dependent: :destroy
|
||||
has_many :difficulty_levels, dependent: :destroy
|
||||
has_many :schedules, dependent: :destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue