7 lines
162 B
Ruby
7 lines
162 B
Ruby
|
class AddQuizToCandidate < ActiveRecord::Migration[5.0]
|
||
|
def change
|
||
|
add_column :candidates, :quiz_id, :integer
|
||
|
add_index :candidates, :quiz_id
|
||
|
end
|
||
|
end
|