增加编程作业中教辅比例
This commit is contained in:
parent
515c854f0f
commit
17a9a1023a
|
@ -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
|
Loading…
Reference in New Issue