parent
91661cbee8
commit
df714555fc
@ -1,5 +1,5 @@
|
|||||||
class ChallengeTag < ApplicationRecord
|
class ChallengeTag < ApplicationRecord
|
||||||
|
|
||||||
belongs_to :challenge, counter_cache: true
|
belongs_to :challenge, counter_cache: true
|
||||||
belongs_to :challenge_choose
|
belongs_to :challenge_choose, optional: true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue