class AddHackIdToExerciseQuestions < ActiveRecord::Migration[5.2] def change add_column :exercise_questions, :hack_id, :integer, default: 0 end end