parent
91a83784e0
commit
a4964802a3
@ -1,8 +0,0 @@
|
||||
class MigrateCourseGroupMemberCount < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
CourseGroup.reset_column_information
|
||||
CourseGroup.find_each do |group|
|
||||
CourseGroup.reset_counters(group.id, :course_members_count)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue