Merge remote-tracking branch 'origin/dev_aliyun' into dev_aliyun

pay_subject
杨树明 5 years ago
commit 7758daaf3b

@ -413,7 +413,7 @@ class Course < ApplicationRecord
when 'exercise' then '试卷'
when 'poll' then '问卷'
when 'attachment' then '资源'
when 'video' then '视频'
when 'video' then '视频直播'
when 'board' then '讨论'
when 'course_group' then '分班'
when 'statistics' then '统计'

@ -0,0 +1,5 @@
class MigrateVideoNam < ActiveRecord::Migration[5.2]
def change
CourseModule.where(module_type: "video").update_all(module_name: "视频直播")
end
end
Loading…
Cancel
Save