修改作业历史数据的问题
This commit is contained in:
parent
09c51d1a87
commit
92eabdbecd
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue