5 lines
157 B
5 lines
157 B
6 years ago
|
class MigrateCourseModuleActivity < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
CourseModule.where(module_type: 'activity').update_all(hidden: 1)
|
||
|
end
|
||
|
end
|