|
class AddColumnToExercises < ActiveRecord::Migration
|
|
def change
|
|
add_column :exercises, :question_random, :integer, :default => 0
|
|
add_column :exercises, :choice_random, :integer, :default => 0
|
|
add_column :exercise_answers, :score, :integer, :default => -1
|
|
end
|
|
end
|