编程作业表增加question_id字段
This commit is contained in:
parent
eb1976efbb
commit
24d6c8e17e
|
@ -0,0 +1,9 @@
|
|||
class AddQuestionIdToHomework < ActiveRecord::Migration
|
||||
def up
|
||||
add_column :homework_detail_programings, :question_id, :integer
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :homework_detail_programings, :question_id
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue