增加编程作业中教辅比例

This commit is contained in:
sw 2015-07-08 10:58:03 +08:00
parent 515c854f0f
commit 17a9a1023a
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class AddProportionToPrograming < ActiveRecord::Migration
def up
add_column :homework_detail_programings, :ta_proportion, :float, :default => 0.1
end
def down
remove_column :homework_detail_programings, :ta_proportion
end
end