实训关卡标签的model关系修改

dev_forum
daiao 5 years ago
parent 91661cbee8
commit df714555fc

@ -1,5 +1,5 @@
class ChallengeTag < ApplicationRecord
belongs_to :challenge, counter_cache: true
belongs_to :challenge_choose
belongs_to :challenge_choose, optional: true
end

Loading…
Cancel
Save