|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|