dev_jupyter
daiao 5 years ago
parent e20537680f
commit 4bb08755b6

@ -10,7 +10,7 @@ class ModifyCourseGroupForCourses < ActiveRecord::Migration[5.2]
cg.homework_group_reviews.update_all(course_group_id: g.id) cg.homework_group_reviews.update_all(course_group_id: g.id)
cg.homework_group_settings.update_all(course_group_id: g.id) cg.homework_group_settings.update_all(course_group_id: g.id)
cg.teacher_course_groups.update_all(course_group_id: g.id) cg.teacher_course_groups.update_all(course_group_id: g.id)
cg.destory! cg.destroy!
end end
end end
end end

Loading…
Cancel
Save