dev_hjm
cxt 6 years ago
parent 6451e82e53
commit 33cc18117f

@ -102,7 +102,7 @@ namespace :public_course do
course.attachments.each do |atta|
created_on = random_time start_time, end_time
atta.update_columns(is_publish: 1, created_on: created_on)
atta.update_columns(is_publish: 1, created_on: created_on, publish_time: created_on)
end
end

Loading…
Cancel
Save