trustieforge/db/migrate/20150422034543_change_bid_o...

9 lines
215 B
Ruby

class ChangeBidOpenAnonymousEvaluation < ActiveRecord::Migration
def chang
Bid.where("open_anonymous_evaluation IS NULL").each do |bid|
bid.open_anonymous_evaluation = 0
bid.save
end
end
end