socialforge/db/migrate/20160506085852_update_org_h...

11 lines
169 B
Ruby
Raw Normal View History

2016-05-06 17:03:54 +08:00
class UpdateOrgHide < ActiveRecord::Migration
def up
Organization.all.each do |org|
org.update_column(:show_mode, false)
end
end
def down
end
end