#1282 修复225号作业显示错误的BUG

解决方案:数据库问题
This commit is contained in:
sw 2014-09-22 11:36:05 +08:00
parent 8688c03aee
commit d9fe607c5b
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
class Change225BidData < ActiveRecord::Migration
def up
bid = Bid.find 225
bid.proportion = 60
bid.save
end
def down
bid = Bid.find 225
bid.proportion = 60
bid.save
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20140916005319) do
ActiveRecord::Schema.define(:version => 20140922032830) do
create_table "activities", :force => true do |t|
t.integer "act_id", :null => false