class AddResultToTrainingTask < ActiveRecord::Migration def change add_column :training_tasks, :result, :integer, :default => 0 end end