Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
commit
5e3400f3d6
@ -0,0 +1,10 @@
|
||||
class ModifyVncEvaluteForShixuns < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
Shixun.find_each do |shixun|
|
||||
if !shixun.vnc && shixun.vnc_evaluate
|
||||
puts "####shixun_id: #{shixun.id}"
|
||||
shixun.update_column(:vnc_evaluate, false)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue