diff --git a/db/migrate/20150422034543_change_bid_open_anonymous_evaluation.rb b/db/migrate/20150422034543_change_bid_open_anonymous_evaluation.rb new file mode 100644 index 000000000..e31ad67be --- /dev/null +++ b/db/migrate/20150422034543_change_bid_open_anonymous_evaluation.rb @@ -0,0 +1,8 @@ +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 diff --git a/db/schema.rb b/db/schema.rb index 63063305f..ecba4ba96 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20150415032102) do +ActiveRecord::Schema.define(:version => 20150422034543) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false