skill-assessment-app/db/migrate/20160727154057_add_quiz_to_candidate.rb

7 lines
162 B
Ruby
Raw Normal View History

2016-07-27 11:17:50 -05:00
class AddQuizToCandidate < ActiveRecord::Migration[5.0]
def change
add_column :candidates, :quiz_id, :integer
add_index :candidates, :quiz_id
end
end