socialforge/db/migrate/20160612043259_update_org_s...

9 lines
169 B
Ruby

class UpdateOrgSubfiledResource < ActiveRecord::Migration
def up
OrgSubfield.where(:field_type => "Resource").update_all(:status => 6)
end
def down
end
end