# frozen_string_literal: true class AddQuizToCandidate < ActiveRecord::Migration[5.0] def change add_column :candidates, :quiz_id, :integer add_index :candidates, :quiz_id end end