socialforge/db/migrate/20160506085852_update_org_h...

11 lines
169 B
Ruby

class UpdateOrgHide < ActiveRecord::Migration
def up
Organization.all.each do |org|
org.update_column(:show_mode, false)
end
end
def down
end
end